#[non_exhaustive]pub struct DefaultResponseFactory;Expand description
The default empty-body response factory.
Trait Implementations§
Source§impl Clone for DefaultResponseFactory
impl Clone for DefaultResponseFactory
Source§fn clone(&self) -> DefaultResponseFactory
fn clone(&self) -> DefaultResponseFactory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DefaultResponseFactory
Source§impl Debug for DefaultResponseFactory
impl Debug for DefaultResponseFactory
Source§impl Default for DefaultResponseFactory
impl Default for DefaultResponseFactory
Source§fn default() -> DefaultResponseFactory
fn default() -> DefaultResponseFactory
Returns the “default value” for a type. Read more
Source§impl<ReqBody, ResBody> ResponseFactory<ReqBody, ResBody> for DefaultResponseFactorywhere
ResBody: Default,
impl<ReqBody, ResBody> ResponseFactory<ReqBody, ResBody> for DefaultResponseFactorywhere
ResBody: Default,
Auto Trait Implementations§
impl Freeze for DefaultResponseFactory
impl RefUnwindSafe for DefaultResponseFactory
impl Send for DefaultResponseFactory
impl Sync for DefaultResponseFactory
impl Unpin for DefaultResponseFactory
impl UnsafeUnpin for DefaultResponseFactory
impl UnwindSafe for DefaultResponseFactory
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