#[repr(transparent)]pub struct LanguageCode(pub String);Tuple Fields§
§0: StringTrait Implementations§
Source§impl CandidType for LanguageCode
impl CandidType for LanguageCode
Source§impl Clone for LanguageCode
impl Clone for LanguageCode
Source§fn clone(&self) -> LanguageCode
fn clone(&self) -> LanguageCode
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 LanguageCode
impl Debug for LanguageCode
Source§impl<'de> Deserialize<'de> for LanguageCode
impl<'de> Deserialize<'de> for LanguageCode
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
impl Eq for LanguageCode
Source§impl<T> From<T> for LanguageCode
impl<T> From<T> for LanguageCode
Source§impl Hash for LanguageCode
impl Hash for LanguageCode
Source§impl Inner<String> for LanguageCode
impl Inner<String> for LanguageCode
Source§impl NormalizeAuto for LanguageCode
impl NormalizeAuto for LanguageCode
fn normalize_self(&mut self, ctx: &mut dyn VisitorContext)
Source§impl NormalizeCustom for LanguageCode
impl NormalizeCustom for LanguageCode
fn normalize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl Ord for LanguageCode
impl Ord for LanguageCode
Source§fn cmp(&self, other: &LanguageCode) -> Ordering
fn cmp(&self, other: &LanguageCode) -> 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
Source§impl PartialEq for LanguageCode
impl PartialEq for LanguageCode
Source§impl PartialEq<LanguageCode> for String
impl PartialEq<LanguageCode> for String
Source§impl PartialEq<String> for LanguageCode
impl PartialEq<String> for LanguageCode
Source§impl PartialOrd for LanguageCode
impl PartialOrd for LanguageCode
Source§impl PartialOrd<LanguageCode> for String
impl PartialOrd<LanguageCode> for String
Source§impl PartialOrd<String> for LanguageCode
impl PartialOrd<String> for LanguageCode
Source§impl Path for LanguageCode
impl Path for LanguageCode
impl StructuralPartialEq for LanguageCode
Source§impl ValidateAuto for LanguageCode
impl ValidateAuto for LanguageCode
fn validate_self(&self, ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for LanguageCode
impl ValidateCustom for LanguageCode
fn validate_custom(&self, _ctx: &mut dyn VisitorContext)
Source§impl Visitable for LanguageCode
impl Visitable for LanguageCode
fn drive(&self, visitor: &mut dyn VisitorCore)
fn drive_mut(&mut self, visitor: &mut dyn VisitorMutCore)
Source§fn type_identity(&self) -> &'static str
fn type_identity(&self) -> &'static str
Return the concrete Rust application-value type used for callback
diagnostics.
Auto Trait Implementations§
impl Freeze for LanguageCode
impl RefUnwindSafe for LanguageCode
impl Send for LanguageCode
impl Sync for LanguageCode
impl Unpin for LanguageCode
impl UnsafeUnpin for LanguageCode
impl UnwindSafe for LanguageCode
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.impl<T> Normalize for Twhere
T: NormalizeAuto + NormalizeCustom,
Source§impl<T> NormalizeAndValidate for Twhere
T: Visitable,
impl<T> NormalizeAndValidate for Twhere
T: Visitable,
Source§fn normalize_and_validate(self) -> Result<Self, VisitorError>
fn normalize_and_validate(self) -> Result<Self, VisitorError>
Normalize and then validate this application-owned value. Read more