Enum rusty_box::auth::auth_ccg::SubjectType
source · pub enum SubjectType {
Enterprise,
User,
}Expand description
The type of subject that is being authenticated (user or enterprise)
Variants§
Trait Implementations§
source§impl Clone for SubjectType
impl Clone for SubjectType
source§fn clone(&self) -> SubjectType
fn clone(&self) -> SubjectType
Returns a copy of the value. Read more
1.0.0 · 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 SubjectType
impl Debug for SubjectType
source§impl Default for SubjectType
impl Default for SubjectType
source§fn default() -> SubjectType
fn default() -> SubjectType
Returns the “default value” for a type. Read more
source§impl PartialEq<SubjectType> for SubjectType
impl PartialEq<SubjectType> for SubjectType
source§fn eq(&self, other: &SubjectType) -> bool
fn eq(&self, other: &SubjectType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SubjectType
impl Serialize for SubjectType
impl StructuralPartialEq for SubjectType
Auto Trait Implementations§
impl RefUnwindSafe for SubjectType
impl Send for SubjectType
impl Sync for SubjectType
impl Unpin for SubjectType
impl UnwindSafe for SubjectType
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