pub struct TestAuthOptions {
pub user_id: String,
pub session: FieldMap,
}Expand description
Input shared by the session and cookie helpers. Core session keys are ignored.
Fields§
§user_id: StringExisting user ID. login checks existence; cookie helpers do not.
session: FieldMapPlugin and application session fields.
Implementations§
Trait Implementations§
Source§impl Clone for TestAuthOptions
impl Clone for TestAuthOptions
Auto Trait Implementations§
impl Freeze for TestAuthOptions
impl RefUnwindSafe for TestAuthOptions
impl Send for TestAuthOptions
impl Sync for TestAuthOptions
impl Unpin for TestAuthOptions
impl UnsafeUnpin for TestAuthOptions
impl UnwindSafe for TestAuthOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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