pub struct TakeResponseBodyForInterceptionAsStreamBuilder { /* private fields */ }Expand description
Builder for TakeResponseBodyForInterceptionAsStream.
Implementations§
Source§impl TakeResponseBodyForInterceptionAsStreamBuilder
impl TakeResponseBodyForInterceptionAsStreamBuilder
pub fn interception_id<VALUE: Into<InterceptionId>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<TakeResponseBodyForInterceptionAsStream, TakeResponseBodyForInterceptionAsStreamBuilderError>
pub fn build( &self, ) -> Result<TakeResponseBodyForInterceptionAsStream, TakeResponseBodyForInterceptionAsStreamBuilderError>
Builds a new TakeResponseBodyForInterceptionAsStream.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for TakeResponseBodyForInterceptionAsStreamBuilder
impl Clone for TakeResponseBodyForInterceptionAsStreamBuilder
Source§fn clone(&self) -> TakeResponseBodyForInterceptionAsStreamBuilder
fn clone(&self) -> TakeResponseBodyForInterceptionAsStreamBuilder
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 TakeResponseBodyForInterceptionAsStreamBuilder
impl RefUnwindSafe for TakeResponseBodyForInterceptionAsStreamBuilder
impl Send for TakeResponseBodyForInterceptionAsStreamBuilder
impl Sync for TakeResponseBodyForInterceptionAsStreamBuilder
impl Unpin for TakeResponseBodyForInterceptionAsStreamBuilder
impl UnsafeUnpin for TakeResponseBodyForInterceptionAsStreamBuilder
impl UnwindSafe for TakeResponseBodyForInterceptionAsStreamBuilder
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