Struct aws_sdk_licensemanager::types::LicenseUsage
source · #[non_exhaustive]pub struct LicenseUsage {
pub entitlement_usages: Option<Vec<EntitlementUsage>>,
}Expand description
Describes the entitlement usage associated with a license.
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.entitlement_usages: Option<Vec<EntitlementUsage>>License entitlement usages.
Implementations§
source§impl LicenseUsage
impl LicenseUsage
sourcepub fn entitlement_usages(&self) -> Option<&[EntitlementUsage]>
pub fn entitlement_usages(&self) -> Option<&[EntitlementUsage]>
License entitlement usages.
source§impl LicenseUsage
impl LicenseUsage
sourcepub fn builder() -> LicenseUsageBuilder
pub fn builder() -> LicenseUsageBuilder
Creates a new builder-style object to manufacture LicenseUsage.
Trait Implementations§
source§impl Clone for LicenseUsage
impl Clone for LicenseUsage
source§fn clone(&self) -> LicenseUsage
fn clone(&self) -> LicenseUsage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LicenseUsage
impl Debug for LicenseUsage
source§impl PartialEq<LicenseUsage> for LicenseUsage
impl PartialEq<LicenseUsage> for LicenseUsage
source§fn eq(&self, other: &LicenseUsage) -> bool
fn eq(&self, other: &LicenseUsage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LicenseUsage
Auto Trait Implementations§
impl RefUnwindSafe for LicenseUsage
impl Send for LicenseUsage
impl Sync for LicenseUsage
impl Unpin for LicenseUsage
impl UnwindSafe for LicenseUsage
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