Struct telescope::web::services::auth::identity::Identity [−][src]
pub struct Identity {
inner: ActixIdentity,
}
Expand description
The identity of a user accessing telescope.
Fields
inner: ActixIdentity
The actix identity of this request. This handles cookie and security stuff.
Implementations
Save an identity object to the client’s cookies.
Get the user’s identity. Refresh it if necessary.
Get the user ID of the authenticated RCOS account (if there is one.)
Trait Implementations
type Error = TelescopeError
type Error = TelescopeError
The associated error which can be returned.
Convert request to a Self
Convert request to a Self Read more
Auto Trait Implementations
impl !RefUnwindSafe for Identity
impl !UnwindSafe for Identity
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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