Struct aws_sdk_licensemanager::types::License
source · #[non_exhaustive]pub struct License {Show 14 fields
pub license_arn: Option<String>,
pub license_name: Option<String>,
pub product_name: Option<String>,
pub product_sku: Option<String>,
pub issuer: Option<IssuerDetails>,
pub home_region: Option<String>,
pub status: Option<LicenseStatus>,
pub validity: Option<DatetimeRange>,
pub beneficiary: Option<String>,
pub entitlements: Option<Vec<Entitlement>>,
pub consumption_configuration: Option<ConsumptionConfiguration>,
pub license_metadata: Option<Vec<Metadata>>,
pub create_time: Option<String>,
pub version: Option<String>,
}Expand description
Software license that is managed in License Manager.
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.license_arn: Option<String>Amazon Resource Name (ARN) of the license.
license_name: Option<String>License name.
product_name: Option<String>Product name.
product_sku: Option<String>Product SKU.
issuer: Option<IssuerDetails>License issuer.
home_region: Option<String>Home Region of the license.
status: Option<LicenseStatus>License status.
validity: Option<DatetimeRange>Date and time range during which the license is valid, in ISO8601-UTC format.
beneficiary: Option<String>License beneficiary.
entitlements: Option<Vec<Entitlement>>License entitlements.
consumption_configuration: Option<ConsumptionConfiguration>Configuration for consumption of the license.
license_metadata: Option<Vec<Metadata>>License metadata.
create_time: Option<String>License creation time.
version: Option<String>License version.
Implementations§
source§impl License
impl License
sourcepub fn license_arn(&self) -> Option<&str>
pub fn license_arn(&self) -> Option<&str>
Amazon Resource Name (ARN) of the license.
sourcepub fn license_name(&self) -> Option<&str>
pub fn license_name(&self) -> Option<&str>
License name.
sourcepub fn product_name(&self) -> Option<&str>
pub fn product_name(&self) -> Option<&str>
Product name.
sourcepub fn product_sku(&self) -> Option<&str>
pub fn product_sku(&self) -> Option<&str>
Product SKU.
sourcepub fn issuer(&self) -> Option<&IssuerDetails>
pub fn issuer(&self) -> Option<&IssuerDetails>
License issuer.
sourcepub fn home_region(&self) -> Option<&str>
pub fn home_region(&self) -> Option<&str>
Home Region of the license.
sourcepub fn status(&self) -> Option<&LicenseStatus>
pub fn status(&self) -> Option<&LicenseStatus>
License status.
sourcepub fn validity(&self) -> Option<&DatetimeRange>
pub fn validity(&self) -> Option<&DatetimeRange>
Date and time range during which the license is valid, in ISO8601-UTC format.
sourcepub fn beneficiary(&self) -> Option<&str>
pub fn beneficiary(&self) -> Option<&str>
License beneficiary.
sourcepub fn entitlements(&self) -> Option<&[Entitlement]>
pub fn entitlements(&self) -> Option<&[Entitlement]>
License entitlements.
sourcepub fn consumption_configuration(&self) -> Option<&ConsumptionConfiguration>
pub fn consumption_configuration(&self) -> Option<&ConsumptionConfiguration>
Configuration for consumption of the license.
sourcepub fn license_metadata(&self) -> Option<&[Metadata]>
pub fn license_metadata(&self) -> Option<&[Metadata]>
License metadata.
sourcepub fn create_time(&self) -> Option<&str>
pub fn create_time(&self) -> Option<&str>
License creation time.
Trait Implementations§
source§impl PartialEq<License> for License
impl PartialEq<License> for License
impl StructuralPartialEq for License
Auto Trait Implementations§
impl RefUnwindSafe for License
impl Send for License
impl Sync for License
impl Unpin for License
impl UnwindSafe for License
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