Struct scratchstack_aws_principal::details::RootUserDetails[][src]

pub struct RootUserDetails {
    pub account_id: String,
}

Details about an AWS root user.

Fields

account_id: String

The account id.

Implementations

impl RootUserDetails[src]

pub fn new<S1>(account_id: S1) -> Result<Self, PrincipalError> where
    S1: Into<String>, 
[src]

Create a RootUserDetails object

Arguments

Return value

If the requirement is met, a RootUserDetails object is returned. Otherwise, a PrincipalError error is returned.

Trait Implementations

impl Clone for RootUserDetails[src]

impl Debug for RootUserDetails[src]

impl Eq for RootUserDetails[src]

impl PartialEq<RootUserDetails> for RootUserDetails[src]

impl StructuralEq for RootUserDetails[src]

impl StructuralPartialEq for RootUserDetails[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Data for T where
    T: Clone + Debug + PartialEq<T> + Eq + Send + Sync + 'static, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.