pub struct ResponseContent {
pub size: Option<u64>,
pub mime_type: String,
pub sha1: Option<String>,
}Fields§
§size: Option<u64>§mime_type: String§sha1: Option<String>Points to resources/<sha1>. None when the response has no
body (204, 304, …).
Trait Implementations§
Source§impl Clone for ResponseContent
impl Clone for ResponseContent
Source§fn clone(&self) -> ResponseContent
fn clone(&self) -> ResponseContent
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 moreAuto Trait Implementations§
impl Freeze for ResponseContent
impl RefUnwindSafe for ResponseContent
impl Send for ResponseContent
impl Sync for ResponseContent
impl Unpin for ResponseContent
impl UnsafeUnpin for ResponseContent
impl UnwindSafe for ResponseContent
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