Enum scratchstack_aspen::AwsPrincipal
source · [−]Variants
Account(String)
Any
Arn(Arn)
Implementations
sourceimpl AwsPrincipal
impl AwsPrincipal
pub fn matches(&self, identity: &PrincipalIdentity) -> bool
Trait Implementations
sourceimpl Clone for AwsPrincipal
impl Clone for AwsPrincipal
sourcefn clone(&self) -> AwsPrincipal
fn clone(&self) -> AwsPrincipal
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AwsPrincipal
impl Debug for AwsPrincipal
sourceimpl Display for AwsPrincipal
impl Display for AwsPrincipal
sourceimpl FromStr for AwsPrincipal
impl FromStr for AwsPrincipal
type Err = AspenError
type Err = AspenError
The associated error which can be returned from parsing.
sourceimpl PartialEq<AwsPrincipal> for AwsPrincipal
impl PartialEq<AwsPrincipal> for AwsPrincipal
sourcefn eq(&self, other: &AwsPrincipal) -> bool
fn eq(&self, other: &AwsPrincipal) -> bool
impl Eq for AwsPrincipal
impl StructuralEq for AwsPrincipal
impl StructuralPartialEq for AwsPrincipal
Auto Trait Implementations
impl RefUnwindSafe for AwsPrincipal
impl Send for AwsPrincipal
impl Sync for AwsPrincipal
impl Unpin for AwsPrincipal
impl UnwindSafe for AwsPrincipal
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