pub struct Record<'a, P> {
pub namespace: &'a str,
pub database: &'a str,
pub access: &'a str,
pub params: P,
}
Expand description
Credentials for the record user
Fields§
§namespace: &'a str
The namespace the user has access to
database: &'a str
The database the user has access to
access: &'a str
The access method to use for signin and signup
params: P
The additional params to use
Trait Implementations§
impl<T, P> Credentials<T, Jwt> for Record<'_, P>where
P: Serialize,
Auto Trait Implementations§
impl<'a, P> Freeze for Record<'a, P>where
P: Freeze,
impl<'a, P> RefUnwindSafe for Record<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for Record<'a, P>where
P: Send,
impl<'a, P> Sync for Record<'a, P>where
P: Sync,
impl<'a, P> Unpin for Record<'a, P>where
P: Unpin,
impl<'a, P> UnwindSafe for Record<'a, P>where
P: UnwindSafe,
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