pub struct ExpectedShape {
pub response_bytes: Option<usize>,
pub response_bytes_min: Option<usize>,
pub response_bytes_max: Option<usize>,
}Fields§
§response_bytes: Option<usize>§response_bytes_min: Option<usize>§response_bytes_max: Option<usize>Trait Implementations§
Source§impl Clone for ExpectedShape
impl Clone for ExpectedShape
Source§fn clone(&self) -> ExpectedShape
fn clone(&self) -> ExpectedShape
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExpectedShape
impl Debug for ExpectedShape
Source§impl Default for ExpectedShape
impl Default for ExpectedShape
Source§fn default() -> ExpectedShape
fn default() -> ExpectedShape
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExpectedShape
impl RefUnwindSafe for ExpectedShape
impl Send for ExpectedShape
impl Sync for ExpectedShape
impl Unpin for ExpectedShape
impl UnsafeUnpin for ExpectedShape
impl UnwindSafe for ExpectedShape
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