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