pub struct ContentLimits {
pub max_bytes: Option<u64>,
pub max_file_bytes: Option<u64>,
}Fields§
§max_bytes: Option<u64>§max_file_bytes: Option<u64>Trait Implementations§
Source§impl Clone for ContentLimits
impl Clone for ContentLimits
Source§fn clone(&self) -> ContentLimits
fn clone(&self) -> ContentLimits
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 ContentLimits
impl Debug for ContentLimits
Source§impl Default for ContentLimits
impl Default for ContentLimits
Source§fn default() -> ContentLimits
fn default() -> ContentLimits
Returns the “default value” for a type. Read more
impl Copy for ContentLimits
Auto Trait Implementations§
impl Freeze for ContentLimits
impl RefUnwindSafe for ContentLimits
impl Send for ContentLimits
impl Sync for ContentLimits
impl Unpin for ContentLimits
impl UnsafeUnpin for ContentLimits
impl UnwindSafe for ContentLimits
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