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