pub struct AuthEndpoint {
pub path: String,
pub method: Method,
pub handler: EndpointHandler,
}Fields§
§path: String§method: Method§handler: EndpointHandlerTrait Implementations§
Source§impl Clone for AuthEndpoint
impl Clone for AuthEndpoint
Source§fn clone(&self) -> AuthEndpoint
fn clone(&self) -> AuthEndpoint
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 moreAuto Trait Implementations§
impl Freeze for AuthEndpoint
impl RefUnwindSafe for AuthEndpoint
impl Send for AuthEndpoint
impl Sync for AuthEndpoint
impl Unpin for AuthEndpoint
impl UnsafeUnpin for AuthEndpoint
impl UnwindSafe for AuthEndpoint
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