pub struct SetAcceptedEncodingsParamsBuilder { /* private fields */ }
Implementations§
source§impl SetAcceptedEncodingsParamsBuilder
impl SetAcceptedEncodingsParamsBuilder
pub fn encoding( self, encoding: impl Into<ContentEncoding> ) -> SetAcceptedEncodingsParamsBuilder
pub fn encodings<I, S>(self, encodings: I) -> SetAcceptedEncodingsParamsBuilder
pub fn build(self) -> Result<SetAcceptedEncodingsParams, String>
Trait Implementations§
source§impl Clone for SetAcceptedEncodingsParamsBuilder
impl Clone for SetAcceptedEncodingsParamsBuilder
source§fn clone(&self) -> SetAcceptedEncodingsParamsBuilder
fn clone(&self) -> SetAcceptedEncodingsParamsBuilder
Returns a copy 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 Default for SetAcceptedEncodingsParamsBuilder
impl Default for SetAcceptedEncodingsParamsBuilder
source§fn default() -> SetAcceptedEncodingsParamsBuilder
fn default() -> SetAcceptedEncodingsParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetAcceptedEncodingsParamsBuilder
impl RefUnwindSafe for SetAcceptedEncodingsParamsBuilder
impl Send for SetAcceptedEncodingsParamsBuilder
impl Sync for SetAcceptedEncodingsParamsBuilder
impl Unpin for SetAcceptedEncodingsParamsBuilder
impl UnwindSafe for SetAcceptedEncodingsParamsBuilder
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