pub struct ContentLanguage(pub ByteString);
Expand description
The getcontentlanguage
property as defined in
RFC 4918.
Tuple Fields§
§0: ByteString
Trait Implementations§
Source§impl Clone for ContentLanguage
impl Clone for ContentLanguage
Source§fn clone(&self) -> ContentLanguage
fn clone(&self) -> ContentLanguage
Returns a copy 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 ContentLanguage
impl Debug for ContentLanguage
Source§impl Element for ContentLanguage
impl Element for ContentLanguage
Source§const LOCAL_NAME: &'static str = "getcontentlanguage"
const LOCAL_NAME: &'static str = "getcontentlanguage"
The local name of the element (the name inside the namespace), e.g.
multistatus
Source§impl From<ContentLanguage> for Value
impl From<ContentLanguage> for Value
Source§fn from(ContentLanguage: ContentLanguage) -> Value
fn from(ContentLanguage: ContentLanguage) -> Value
Converts to this type from the input type.
Source§impl PartialEq for ContentLanguage
impl PartialEq for ContentLanguage
Source§impl TryFrom<&Value> for ContentLanguage
impl TryFrom<&Value> for ContentLanguage
impl StructuralPartialEq for ContentLanguage
Auto Trait Implementations§
impl !Freeze for ContentLanguage
impl RefUnwindSafe for ContentLanguage
impl Send for ContentLanguage
impl Sync for ContentLanguage
impl Unpin for ContentLanguage
impl UnwindSafe for ContentLanguage
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