pub struct UserEndpoint { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for UserEndpoint
impl Clone for UserEndpoint
Source§fn clone(&self) -> UserEndpoint
fn clone(&self) -> UserEndpoint
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 Debug for UserEndpoint
impl Debug for UserEndpoint
Source§impl Endpoint for UserEndpoint
impl Endpoint for UserEndpoint
type RenderRequestError = UserEndpointError
type ParseResponseOutput = User
type ParseResponseError = UserEndpointError
fn render_request(&self) -> Result<Request<Body>, Self::RenderRequestError>
fn parse_response( &self, response: Response<Body>, ) -> Result<Self::ParseResponseOutput, Self::ParseResponseError>
Auto Trait Implementations§
impl Freeze for UserEndpoint
impl RefUnwindSafe for UserEndpoint
impl Send for UserEndpoint
impl Sync for UserEndpoint
impl Unpin for UserEndpoint
impl UnwindSafe for UserEndpoint
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