pub struct BodyPreview {
pub content_type: Option<String>,
pub encoding: String,
pub data: String,
pub truncated: bool,
pub original_len: usize,
}Fields§
§content_type: Option<String>§encoding: String§data: String§truncated: bool§original_len: usizeTrait Implementations§
Source§impl Clone for BodyPreview
impl Clone for BodyPreview
Source§fn clone(&self) -> BodyPreview
fn clone(&self) -> BodyPreview
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 BodyPreview
impl Debug for BodyPreview
Auto Trait Implementations§
impl Freeze for BodyPreview
impl RefUnwindSafe for BodyPreview
impl Send for BodyPreview
impl Sync for BodyPreview
impl Unpin for BodyPreview
impl UnwindSafe for BodyPreview
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