pub struct GetEncodedResponseReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetEncodedResponseReturnObject.
Implementations§
Source§impl GetEncodedResponseReturnObjectBuilder
impl GetEncodedResponseReturnObjectBuilder
Sourcepub fn body(&mut self, value: Option<String>) -> &mut Self
pub fn body(&mut self, value: Option<String>) -> &mut Self
The encoded body as a base64 string. Omitted if sizeOnly is true.
Sourcepub fn original_size(&mut self, value: JsUInt) -> &mut Self
pub fn original_size(&mut self, value: JsUInt) -> &mut Self
Size before re-encoding.
Sourcepub fn encoded_size(&mut self, value: JsUInt) -> &mut Self
pub fn encoded_size(&mut self, value: JsUInt) -> &mut Self
Size after re-encoding.
Sourcepub fn build(
&self,
) -> Result<GetEncodedResponseReturnObject, GetEncodedResponseReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetEncodedResponseReturnObject, GetEncodedResponseReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for GetEncodedResponseReturnObjectBuilder
impl Clone for GetEncodedResponseReturnObjectBuilder
Source§fn clone(&self) -> GetEncodedResponseReturnObjectBuilder
fn clone(&self) -> GetEncodedResponseReturnObjectBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetEncodedResponseReturnObjectBuilder
impl RefUnwindSafe for GetEncodedResponseReturnObjectBuilder
impl Send for GetEncodedResponseReturnObjectBuilder
impl Sync for GetEncodedResponseReturnObjectBuilder
impl Unpin for GetEncodedResponseReturnObjectBuilder
impl UnsafeUnpin for GetEncodedResponseReturnObjectBuilder
impl UnwindSafe for GetEncodedResponseReturnObjectBuilder
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