pub struct UserEndpoint { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Clone for UserEndpoint
impl Clone for UserEndpoint
sourcefn clone(&self) -> UserEndpoint
fn clone(&self) -> UserEndpoint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UserEndpoint
impl Debug for UserEndpoint
sourceimpl 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 RefUnwindSafe for UserEndpoint
impl Send for UserEndpoint
impl Sync for UserEndpoint
impl Unpin for UserEndpoint
impl UnwindSafe for UserEndpoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more