pub enum PackageKind {
Catalog,
Installed,
}Expand description
The lifecycle classification of a package record.
Variants§
Catalog
A catalog record that can be installed.
Installed
A record that represents an installed package snapshot.
Implementations§
Trait Implementations§
Source§impl Clone for PackageKind
impl Clone for PackageKind
Source§fn clone(&self) -> PackageKind
fn clone(&self) -> PackageKind
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 PackageKind
impl Debug for PackageKind
Source§impl<'de> Deserialize<'de> for PackageKind
impl<'de> Deserialize<'de> for PackageKind
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 Display for PackageKind
impl Display for PackageKind
Source§impl From<PackageKind> for String
impl From<PackageKind> for String
Source§fn from(value: PackageKind) -> Self
fn from(value: PackageKind) -> Self
Converts to this type from the input type.
Source§impl FromStr for PackageKind
impl FromStr for PackageKind
Source§impl PartialEq for PackageKind
impl PartialEq for PackageKind
Source§impl Serialize for PackageKind
impl Serialize for PackageKind
impl Copy for PackageKind
impl Eq for PackageKind
impl StructuralPartialEq for PackageKind
Auto Trait Implementations§
impl Freeze for PackageKind
impl RefUnwindSafe for PackageKind
impl Send for PackageKind
impl Sync for PackageKind
impl Unpin for PackageKind
impl UnwindSafe for PackageKind
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