pub enum GuardedTokenLanguageV0 {
Concrete(CanonicalClassKeyV0),
Symbolic {
raw_language: String,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GuardedTokenLanguageV0
impl Clone for GuardedTokenLanguageV0
Source§fn clone(&self) -> GuardedTokenLanguageV0
fn clone(&self) -> GuardedTokenLanguageV0
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 GuardedTokenLanguageV0
impl Debug for GuardedTokenLanguageV0
impl Eq for GuardedTokenLanguageV0
Source§impl Ord for GuardedTokenLanguageV0
impl Ord for GuardedTokenLanguageV0
Source§fn cmp(&self, other: &GuardedTokenLanguageV0) -> Ordering
fn cmp(&self, other: &GuardedTokenLanguageV0) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for GuardedTokenLanguageV0
impl PartialEq for GuardedTokenLanguageV0
Source§impl PartialOrd for GuardedTokenLanguageV0
impl PartialOrd for GuardedTokenLanguageV0
Source§impl Serialize for GuardedTokenLanguageV0
impl Serialize for GuardedTokenLanguageV0
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GuardedTokenLanguageV0
Auto Trait Implementations§
impl Freeze for GuardedTokenLanguageV0
impl RefUnwindSafe for GuardedTokenLanguageV0
impl Send for GuardedTokenLanguageV0
impl Sync for GuardedTokenLanguageV0
impl Unpin for GuardedTokenLanguageV0
impl UnsafeUnpin for GuardedTokenLanguageV0
impl UnwindSafe for GuardedTokenLanguageV0
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.