Struct aws_sdk_licensemanager::types::TokenData
source · #[non_exhaustive]pub struct TokenData {
pub token_id: Option<String>,
pub token_type: Option<String>,
pub license_arn: Option<String>,
pub expiration_time: Option<String>,
pub token_properties: Option<Vec<String>>,
pub role_arns: Option<Vec<String>>,
pub status: Option<String>,
}Expand description
Describes a token.
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.token_id: Option<String>Token ID.
token_type: Option<String>Type of token generated. The supported value is REFRESH_TOKEN.
license_arn: Option<String>Amazon Resource Name (ARN) of the license.
expiration_time: Option<String>Token expiration time, in ISO8601-UTC format.
token_properties: Option<Vec<String>>Data specified by the caller.
role_arns: Option<Vec<String>>Amazon Resource Names (ARN) of the roles included in the token.
status: Option<String>Token status. The possible values are AVAILABLE and DELETED.
Implementations§
source§impl TokenData
impl TokenData
sourcepub fn token_type(&self) -> Option<&str>
pub fn token_type(&self) -> Option<&str>
Type of token generated. The supported value is REFRESH_TOKEN.
sourcepub fn license_arn(&self) -> Option<&str>
pub fn license_arn(&self) -> Option<&str>
Amazon Resource Name (ARN) of the license.
sourcepub fn expiration_time(&self) -> Option<&str>
pub fn expiration_time(&self) -> Option<&str>
Token expiration time, in ISO8601-UTC format.
sourcepub fn token_properties(&self) -> Option<&[String]>
pub fn token_properties(&self) -> Option<&[String]>
Data specified by the caller.
Trait Implementations§
source§impl PartialEq<TokenData> for TokenData
impl PartialEq<TokenData> for TokenData
impl StructuralPartialEq for TokenData
Auto Trait Implementations§
impl RefUnwindSafe for TokenData
impl Send for TokenData
impl Sync for TokenData
impl Unpin for TokenData
impl UnwindSafe for TokenData
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