pub struct BodyData {
pub encoding: String,
pub content: String,
pub size: u64,
}Fields§
§encoding: StringEncoding (e.g., “utf-8”, “base64”)
content: StringThe actual content. If binary, it should be base64 encoded string.
size: u64Original size in bytes before any decoding/unzipping
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BodyData
impl<'de> Deserialize<'de> for BodyData
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
Auto Trait Implementations§
impl Freeze for BodyData
impl RefUnwindSafe for BodyData
impl Send for BodyData
impl Sync for BodyData
impl Unpin for BodyData
impl UnsafeUnpin for BodyData
impl UnwindSafe for BodyData
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