pub struct LanguageTag(/* private fields */);Implementations§
Source§impl LanguageTag
impl LanguageTag
Source§impl LanguageTag
impl LanguageTag
pub fn into_inner(self) -> String
Trait Implementations§
Source§impl Clone for LanguageTag
impl Clone for LanguageTag
Source§fn clone(&self) -> LanguageTag
fn clone(&self) -> LanguageTag
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 LanguageTag
impl Debug for LanguageTag
Source§impl<'de> Deserialize<'de> for LanguageTag
impl<'de> Deserialize<'de> for LanguageTag
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for LanguageTag
impl Hash for LanguageTag
Source§impl Ord for LanguageTag
impl Ord for LanguageTag
Source§fn cmp(&self, other: &LanguageTag) -> Ordering
fn cmp(&self, other: &LanguageTag) -> 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 LanguageTag
impl PartialEq for LanguageTag
Source§impl PartialOrd for LanguageTag
impl PartialOrd for LanguageTag
Source§impl Serialize for LanguageTag
impl Serialize for LanguageTag
impl Eq for LanguageTag
impl StructuralPartialEq for LanguageTag
Auto Trait Implementations§
impl Freeze for LanguageTag
impl RefUnwindSafe for LanguageTag
impl Send for LanguageTag
impl Sync for LanguageTag
impl Unpin for LanguageTag
impl UnsafeUnpin for LanguageTag
impl UnwindSafe for LanguageTag
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