pub struct EncodingConfiguration {
pub min_body_size: usize,
pub encodable_by_default: bool,
pub keep_identity_encoding: bool,
}
Expand description
Encoding configuration.
Fields§
§min_body_size: usize
Minimum body size.
encodable_by_default: bool
Encodable by default.
keep_identity_encoding: bool
Keep identity encoding.
Trait Implementations§
Source§impl Clone for EncodingConfiguration
impl Clone for EncodingConfiguration
Source§fn clone(&self) -> EncodingConfiguration
fn clone(&self) -> EncodingConfiguration
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 EncodingConfiguration
impl RefUnwindSafe for EncodingConfiguration
impl Send for EncodingConfiguration
impl Sync for EncodingConfiguration
impl Unpin for EncodingConfiguration
impl UnwindSafe for EncodingConfiguration
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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