pub struct LicenseName(/* private fields */);
Expand description
License name
Licenses have a human-readable name.
Implementations§
Trait Implementations§
Source§impl Clone for LicenseName
impl Clone for LicenseName
Source§fn clone(&self) -> LicenseName
fn clone(&self) -> LicenseName
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 LicenseName
impl Debug for LicenseName
Source§impl<'de> Deserialize<'de> for LicenseName
impl<'de> Deserialize<'de> for LicenseName
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 LicenseName
impl Display for LicenseName
Source§impl From<&str> for LicenseName
impl From<&str> for LicenseName
Source§fn from(string: &str) -> LicenseName
fn from(string: &str) -> LicenseName
Converts to this type from the input type.
Source§impl From<String> for LicenseName
impl From<String> for LicenseName
Source§fn from(string: String) -> LicenseName
fn from(string: String) -> LicenseName
Converts to this type from the input type.
Source§impl Hash for LicenseName
impl Hash for LicenseName
Source§impl Ord for LicenseName
impl Ord for LicenseName
Source§fn cmp(&self, other: &LicenseName) -> Ordering
fn cmp(&self, other: &LicenseName) -> 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 LicenseName
impl PartialEq for LicenseName
Source§impl PartialOrd for LicenseName
impl PartialOrd for LicenseName
Source§impl Serialize for LicenseName
impl Serialize for LicenseName
impl Eq for LicenseName
impl StructuralPartialEq for LicenseName
Auto Trait Implementations§
impl Freeze for LicenseName
impl RefUnwindSafe for LicenseName
impl Send for LicenseName
impl Sync for LicenseName
impl Unpin for LicenseName
impl UnwindSafe for LicenseName
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.