pub struct PasswordHashContext {
pub path: Option<String>,
pub request: Option<RequestHookContext>,
}Expand description
Logical identity of an actual endpoint call, independently of whether it came from HTTP. Trusted server APIs have a path and may have no request.
Fields§
§path: Option<String>§request: Option<RequestHookContext>Implementations§
Source§impl PasswordHashContext
impl PasswordHashContext
pub fn from_request(request: RequestHookContext) -> Self
Trait Implementations§
Source§impl Clone for PasswordHashContext
impl Clone for PasswordHashContext
Auto Trait Implementations§
impl Freeze for PasswordHashContext
impl RefUnwindSafe for PasswordHashContext
impl Send for PasswordHashContext
impl Sync for PasswordHashContext
impl Unpin for PasswordHashContext
impl UnsafeUnpin for PasswordHashContext
impl UnwindSafe for PasswordHashContext
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