pub enum PrimaryPackagePurpose {
Application,
Framework,
Library,
Container,
OperatingSystem,
Device,
Firmware,
Source,
Archive,
File,
Install,
Other,
}Variants§
Application
Framework
Library
Container
OperatingSystem
Device
Firmware
Source
Archive
File
Install
Other
Trait Implementations§
Source§impl Clone for PrimaryPackagePurpose
impl Clone for PrimaryPackagePurpose
Source§fn clone(&self) -> PrimaryPackagePurpose
fn clone(&self) -> PrimaryPackagePurpose
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 PrimaryPackagePurpose
impl Debug for PrimaryPackagePurpose
Source§impl<'de> Deserialize<'de> for PrimaryPackagePurpose
impl<'de> Deserialize<'de> for PrimaryPackagePurpose
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 PartialEq for PrimaryPackagePurpose
impl PartialEq for PrimaryPackagePurpose
Source§impl Serialize for PrimaryPackagePurpose
impl Serialize for PrimaryPackagePurpose
impl Copy for PrimaryPackagePurpose
impl Eq for PrimaryPackagePurpose
impl StructuralPartialEq for PrimaryPackagePurpose
Auto Trait Implementations§
impl Freeze for PrimaryPackagePurpose
impl RefUnwindSafe for PrimaryPackagePurpose
impl Send for PrimaryPackagePurpose
impl Sync for PrimaryPackagePurpose
impl Unpin for PrimaryPackagePurpose
impl UnwindSafe for PrimaryPackagePurpose
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