pub enum PrincipalType {
Aws,
Federated,
Service,
CanonicalUser,
}Expand description
Principal type for IAM policies
Variants§
Aws
AWS principals (users, roles, root accounts)
Federated
Federated principals (SAML, OIDC providers)
Service
AWS service principals
CanonicalUser
S3 canonical user principals
Trait Implementations§
Source§impl Clone for PrincipalType
impl Clone for PrincipalType
Source§fn clone(&self) -> PrincipalType
fn clone(&self) -> PrincipalType
Returns a duplicate 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 PrincipalType
impl Debug for PrincipalType
Source§impl<'de> Deserialize<'de> for PrincipalType
impl<'de> Deserialize<'de> for PrincipalType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PrincipalType
impl Display for PrincipalType
Source§impl Hash for PrincipalType
impl Hash for PrincipalType
Source§impl PartialEq for PrincipalType
impl PartialEq for PrincipalType
Source§impl Serialize for PrincipalType
impl Serialize for PrincipalType
impl Eq for PrincipalType
impl StructuralPartialEq for PrincipalType
Auto Trait Implementations§
impl Freeze for PrincipalType
impl RefUnwindSafe for PrincipalType
impl Send for PrincipalType
impl Sync for PrincipalType
impl Unpin for PrincipalType
impl UnwindSafe for PrincipalType
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