#[non_exhaustive]pub struct AuthInfo {
pub client_token: SecretString,
pub accessor: String,
pub policies: Vec<String>,
pub token_policies: Vec<String>,
pub metadata: Option<HashMap<String, String>>,
pub lease_duration: u64,
pub renewable: bool,
pub entity_id: String,
pub token_type: String,
pub orphan: bool,
pub mfa_requirement: Option<Value>,
pub num_uses: Option<u64>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.client_token: SecretString§accessor: String§policies: Vec<String>§token_policies: Vec<String>§metadata: Option<HashMap<String, String>>§lease_duration: u64§renewable: bool§entity_id: String§token_type: String§orphan: bool§mfa_requirement: Option<Value>§num_uses: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthInfo
impl<'de> Deserialize<'de> for AuthInfo
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
Auto Trait Implementations§
impl Freeze for AuthInfo
impl RefUnwindSafe for AuthInfo
impl Send for AuthInfo
impl Sync for AuthInfo
impl Unpin for AuthInfo
impl UnsafeUnpin for AuthInfo
impl UnwindSafe for AuthInfo
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