pub struct ContentLengthBytes(/* private fields */);Expand description
Non-zero document size used to reject empty uploads before extraction or review.
Implementations§
Trait Implementations§
Source§impl Clone for ContentLengthBytes
impl Clone for ContentLengthBytes
Source§fn clone(&self) -> ContentLengthBytes
fn clone(&self) -> ContentLengthBytes
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 ContentLengthBytes
impl Debug for ContentLengthBytes
Source§impl<'de> Deserialize<'de> for ContentLengthBytes
impl<'de> Deserialize<'de> for ContentLengthBytes
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
Source§impl Hash for ContentLengthBytes
impl Hash for ContentLengthBytes
Source§impl Ord for ContentLengthBytes
impl Ord for ContentLengthBytes
Source§fn cmp(&self, other: &ContentLengthBytes) -> Ordering
fn cmp(&self, other: &ContentLengthBytes) -> 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 ContentLengthBytes
impl PartialEq for ContentLengthBytes
Source§impl PartialOrd for ContentLengthBytes
impl PartialOrd for ContentLengthBytes
Source§impl Serialize for ContentLengthBytes
impl Serialize for ContentLengthBytes
impl Copy for ContentLengthBytes
impl Eq for ContentLengthBytes
impl StructuralPartialEq for ContentLengthBytes
Auto Trait Implementations§
impl Freeze for ContentLengthBytes
impl RefUnwindSafe for ContentLengthBytes
impl Send for ContentLengthBytes
impl Sync for ContentLengthBytes
impl Unpin for ContentLengthBytes
impl UnsafeUnpin for ContentLengthBytes
impl UnwindSafe for ContentLengthBytes
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