Struct bonsaidb_core::connection::Authenticated
source · [−]pub struct Authenticated {
pub user_id: u64,
pub permissions: Permissions,
}Expand description
Information about the authenticated session.
Fields
user_id: u64The user id logged in as.
permissions: PermissionsThe effective permissions granted.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Authenticated
impl Send for Authenticated
impl Sync for Authenticated
impl Unpin for Authenticated
impl UnwindSafe for Authenticated
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more