pub struct LicenseKey(/* private fields */);
Expand description
License key
Licenses have a unique key that identifies them.
Implementations§
Trait Implementations§
Source§impl Clone for LicenseKey
impl Clone for LicenseKey
Source§fn clone(&self) -> LicenseKey
fn clone(&self) -> LicenseKey
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 LicenseKey
impl Debug for LicenseKey
Source§impl<'de> Deserialize<'de> for LicenseKey
impl<'de> Deserialize<'de> for LicenseKey
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 LicenseKey
impl Display for LicenseKey
Source§impl From<&str> for LicenseKey
impl From<&str> for LicenseKey
Source§fn from(string: &str) -> LicenseKey
fn from(string: &str) -> LicenseKey
Converts to this type from the input type.
Source§impl From<String> for LicenseKey
impl From<String> for LicenseKey
Source§fn from(string: String) -> LicenseKey
fn from(string: String) -> LicenseKey
Converts to this type from the input type.
Source§impl Hash for LicenseKey
impl Hash for LicenseKey
Source§impl Ord for LicenseKey
impl Ord for LicenseKey
Source§fn cmp(&self, other: &LicenseKey) -> Ordering
fn cmp(&self, other: &LicenseKey) -> 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 LicenseKey
impl PartialEq for LicenseKey
Source§impl PartialOrd for LicenseKey
impl PartialOrd for LicenseKey
Source§impl Serialize for LicenseKey
impl Serialize for LicenseKey
impl Eq for LicenseKey
impl StructuralPartialEq for LicenseKey
Auto Trait Implementations§
impl Freeze for LicenseKey
impl RefUnwindSafe for LicenseKey
impl Send for LicenseKey
impl Sync for LicenseKey
impl Unpin for LicenseKey
impl UnwindSafe for LicenseKey
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.