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<PrincipalSource> for PrincipalSource
impl PartialEq<PrincipalSource> for PrincipalSource
source§fn eq(&self, other: &PrincipalSource) -> bool
fn eq(&self, other: &PrincipalSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PrincipalSource> for PrincipalSource
impl PartialOrd<PrincipalSource> for PrincipalSource
source§fn partial_cmp(&self, other: &PrincipalSource) -> Option<Ordering>
fn partial_cmp(&self, other: &PrincipalSource) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more