pub struct GetEncodedResponseResult {
pub body: Option<Binary>,
pub original_size: i64,
pub encoded_size: i64,
}Fields§
§body: Option<Binary>The encoded body as a base64 string. Omitted if sizeOnly is true.
original_size: i64Size before re-encoding.
encoded_size: i64Size after re-encoding.
Trait Implementations§
Source§impl Clone for GetEncodedResponseResult
impl Clone for GetEncodedResponseResult
Source§fn clone(&self) -> GetEncodedResponseResult
fn clone(&self) -> GetEncodedResponseResult
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 GetEncodedResponseResult
impl Debug for GetEncodedResponseResult
Source§impl<'de> Deserialize<'de> for GetEncodedResponseResult
impl<'de> Deserialize<'de> for GetEncodedResponseResult
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
Source§impl PartialEq for GetEncodedResponseResult
impl PartialEq for GetEncodedResponseResult
Source§impl Serialize for GetEncodedResponseResult
impl Serialize for GetEncodedResponseResult
Source§impl TryFrom<Value> for GetEncodedResponseResult
impl TryFrom<Value> for GetEncodedResponseResult
impl StructuralPartialEq for GetEncodedResponseResult
Auto Trait Implementations§
impl Freeze for GetEncodedResponseResult
impl RefUnwindSafe for GetEncodedResponseResult
impl Send for GetEncodedResponseResult
impl Sync for GetEncodedResponseResult
impl Unpin for GetEncodedResponseResult
impl UnsafeUnpin for GetEncodedResponseResult
impl UnwindSafe for GetEncodedResponseResult
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