pub enum PrincipalSource {
Aws,
CanonicalUser,
Federated,
Service,
}
Expand description
The source of a principal.
Variants§
Aws
AWS account or IAM principal
CanonicalUser
S3 canonical user
Federated
Federated identity
Service
Service principal
Trait Implementations§
Source§impl Clone for PrincipalSource
impl Clone for PrincipalSource
Source§fn clone(&self) -> PrincipalSource
fn clone(&self) -> PrincipalSource
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 PrincipalSource
impl Debug for PrincipalSource
Source§impl Display for PrincipalSource
impl Display for PrincipalSource
Source§impl Hash for PrincipalSource
impl Hash for PrincipalSource
Source§impl Ord for PrincipalSource
impl Ord for PrincipalSource
Source§fn cmp(&self, other: &PrincipalSource) -> Ordering
fn cmp(&self, other: &PrincipalSource) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PrincipalSource
impl PartialEq for PrincipalSource
Source§impl PartialOrd for PrincipalSource
impl PartialOrd for PrincipalSource
impl Copy for PrincipalSource
impl Eq for PrincipalSource
impl StructuralPartialEq for PrincipalSource
Auto Trait Implementations§
impl Freeze for PrincipalSource
impl RefUnwindSafe for PrincipalSource
impl Send for PrincipalSource
impl Sync for PrincipalSource
impl Unpin for PrincipalSource
impl UnwindSafe for PrincipalSource
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