pub enum PackageSetType {
Anchored(AnchoredPackageSetType),
Upgradable(UpgradablePackageSetType),
Discoverable(DiscoverablePackageSetType),
}
Expand description
Package Set Types as specified in RFC-212 https://fuchsia.dev/fuchsia-src/contribute/governance/rfcs/0212_package_sets
Variants§
Anchored(AnchoredPackageSetType)
Anchored packages
Upgradable(UpgradablePackageSetType)
Upgradable packages
Discoverable(DiscoverablePackageSetType)
Discoverable packages
Trait Implementations§
Source§impl Clone for PackageSetType
impl Clone for PackageSetType
Source§fn clone(&self) -> PackageSetType
fn clone(&self) -> PackageSetType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PackageSetType
impl Debug for PackageSetType
Source§impl<'de> Deserialize<'de> for PackageSetType
impl<'de> Deserialize<'de> for PackageSetType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for PackageSetType
impl Hash for PackageSetType
Source§impl Ord for PackageSetType
impl Ord for PackageSetType
Source§fn cmp(&self, other: &PackageSetType) -> Ordering
fn cmp(&self, other: &PackageSetType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PackageSetType
impl PartialEq for PackageSetType
Source§impl PartialOrd for PackageSetType
impl PartialOrd for PackageSetType
Source§impl Serialize for PackageSetType
impl Serialize for PackageSetType
impl Copy for PackageSetType
impl Eq for PackageSetType
impl StructuralPartialEq for PackageSetType
Auto Trait Implementations§
impl Freeze for PackageSetType
impl RefUnwindSafe for PackageSetType
impl Send for PackageSetType
impl Sync for PackageSetType
impl Unpin for PackageSetType
impl UnwindSafe for PackageSetType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more