pub struct LoginMethodContext { /* private fields */ }Expand description
Request data used to resolve a login method.
Implementations§
Source§impl LoginMethodContext
impl LoginMethodContext
pub fn new(path: impl Into<String>) -> Self
pub fn from_request(context: &AuthContext, request: &ApiRequest) -> Self
pub fn path(&self) -> &str
Trait Implementations§
Source§impl Clone for LoginMethodContext
impl Clone for LoginMethodContext
Source§fn clone(&self) -> LoginMethodContext
fn clone(&self) -> LoginMethodContext
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 moreSource§impl Debug for LoginMethodContext
impl Debug for LoginMethodContext
Source§impl PartialEq for LoginMethodContext
impl PartialEq for LoginMethodContext
Source§fn eq(&self, other: &LoginMethodContext) -> bool
fn eq(&self, other: &LoginMethodContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LoginMethodContext
impl StructuralPartialEq for LoginMethodContext
Auto Trait Implementations§
impl Freeze for LoginMethodContext
impl RefUnwindSafe for LoginMethodContext
impl Send for LoginMethodContext
impl Sync for LoginMethodContext
impl Unpin for LoginMethodContext
impl UnsafeUnpin for LoginMethodContext
impl UnwindSafe for LoginMethodContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.