#[non_exhaustive]pub enum Acting {
Person,
Client,
}Expand description
Who acts behind the token an access was authenticated by.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Person
The natural person the token’s sub names.
Client
A client application, which the recording system admits to personal data only for the professional the token names.
Implementations§
Trait Implementations§
impl Copy for Acting
impl Eq for Acting
impl StructuralPartialEq for Acting
Auto Trait Implementations§
impl Freeze for Acting
impl RefUnwindSafe for Acting
impl Send for Acting
impl Sync for Acting
impl Unpin for Acting
impl UnsafeUnpin for Acting
impl UnwindSafe for Acting
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