pub enum SessionActor {
Subject {
subject_id: String,
},
Delegate {
actor_id: String,
reason: Option<String>,
},
System {
service: String,
},
}Expand description
Describes the principal that triggered a session change.
Variants§
Subject
The authenticated account or subject that owns the session.
Delegate
An administrator or operator acting on behalf of another subject.
Fields
System
A system-initiated background process.
Trait Implementations§
Source§impl Clone for SessionActor
impl Clone for SessionActor
Source§fn clone(&self) -> SessionActor
fn clone(&self) -> SessionActor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SessionActor
impl Debug for SessionActor
Source§impl PartialEq for SessionActor
impl PartialEq for SessionActor
Source§fn eq(&self, other: &SessionActor) -> bool
fn eq(&self, other: &SessionActor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SessionActor
impl StructuralPartialEq for SessionActor
Auto Trait Implementations§
impl Freeze for SessionActor
impl RefUnwindSafe for SessionActor
impl Send for SessionActor
impl Sync for SessionActor
impl Unpin for SessionActor
impl UnsafeUnpin for SessionActor
impl UnwindSafe for SessionActor
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