pub struct GetEncodedResponseCommand { /* private fields */ }Available on crate features
experimental and Audits and Network only.Expand description
Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.
Implementations§
Source§impl GetEncodedResponseCommand
impl GetEncodedResponseCommand
pub fn builder() -> GetEncodedResponseCommandBuilder
Sourcepub fn request_id(&self) -> &RequestId
pub fn request_id(&self) -> &RequestId
Identifier of the network request to get content for.
Sourcepub fn encoding(&self) -> &GetEncodedResponseCommandEncoding
pub fn encoding(&self) -> &GetEncodedResponseCommandEncoding
The encoding to use.
Trait Implementations§
Source§impl Clone for GetEncodedResponseCommand
impl Clone for GetEncodedResponseCommand
Source§fn clone(&self) -> GetEncodedResponseCommand
fn clone(&self) -> GetEncodedResponseCommand
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 Command for GetEncodedResponseCommand
impl Command for GetEncodedResponseCommand
Source§impl Debug for GetEncodedResponseCommand
impl Debug for GetEncodedResponseCommand
Source§impl<'de> Deserialize<'de> for GetEncodedResponseCommand
impl<'de> Deserialize<'de> for GetEncodedResponseCommand
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 GetEncodedResponseCommand
impl RefUnwindSafe for GetEncodedResponseCommand
impl Send for GetEncodedResponseCommand
impl Sync for GetEncodedResponseCommand
impl Unpin for GetEncodedResponseCommand
impl UnwindSafe for GetEncodedResponseCommand
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