Struct aws_sdk_ec2::model::AllowedPrincipal
source · [−]#[non_exhaustive]pub struct AllowedPrincipal { /* private fields */ }
Expand description
Describes a principal.
Implementations
sourceimpl AllowedPrincipal
impl AllowedPrincipal
sourcepub fn principal_type(&self) -> Option<&PrincipalType>
pub fn principal_type(&self) -> Option<&PrincipalType>
The type of principal.
sourceimpl AllowedPrincipal
impl AllowedPrincipal
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AllowedPrincipal
.
Trait Implementations
sourceimpl Clone for AllowedPrincipal
impl Clone for AllowedPrincipal
sourcefn clone(&self) -> AllowedPrincipal
fn clone(&self) -> AllowedPrincipal
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AllowedPrincipal
impl Debug for AllowedPrincipal
sourceimpl PartialEq<AllowedPrincipal> for AllowedPrincipal
impl PartialEq<AllowedPrincipal> for AllowedPrincipal
sourcefn eq(&self, other: &AllowedPrincipal) -> bool
fn eq(&self, other: &AllowedPrincipal) -> bool
impl StructuralPartialEq for AllowedPrincipal
Auto Trait Implementations
impl RefUnwindSafe for AllowedPrincipal
impl Send for AllowedPrincipal
impl Sync for AllowedPrincipal
impl Unpin for AllowedPrincipal
impl UnwindSafe for AllowedPrincipal
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more