pub enum LicenseKind {
Mit,
Apache2,
Gpl,
Bsd,
Unknown,
Missing,
}Variants§
Trait Implementations§
Source§impl Clone for LicenseKind
impl Clone for LicenseKind
Source§fn clone(&self) -> LicenseKind
fn clone(&self) -> LicenseKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LicenseKind
impl Debug for LicenseKind
Source§impl Default for LicenseKind
impl Default for LicenseKind
Source§fn default() -> LicenseKind
fn default() -> LicenseKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LicenseKind
impl<'de> Deserialize<'de> for LicenseKind
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 LicenseKind
impl PartialEq for LicenseKind
Source§fn eq(&self, other: &LicenseKind) -> bool
fn eq(&self, other: &LicenseKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LicenseKind
impl Serialize for LicenseKind
impl Copy for LicenseKind
impl Eq for LicenseKind
impl StructuralPartialEq for LicenseKind
Auto Trait Implementations§
impl Freeze for LicenseKind
impl RefUnwindSafe for LicenseKind
impl Send for LicenseKind
impl Sync for LicenseKind
impl Unpin for LicenseKind
impl UnsafeUnpin for LicenseKind
impl UnwindSafe for LicenseKind
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