Struct aws_sdk_licensemanager::types::EntitlementUsage
source · #[non_exhaustive]pub struct EntitlementUsage {
pub name: Option<String>,
pub consumed_value: Option<String>,
pub max_count: Option<String>,
pub unit: Option<EntitlementDataUnit>,
}Expand description
Usage associated with an entitlement resource.
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.name: Option<String>Entitlement usage name.
consumed_value: Option<String>Resource usage consumed.
max_count: Option<String>Maximum entitlement usage count.
unit: Option<EntitlementDataUnit>Entitlement usage unit.
Implementations§
source§impl EntitlementUsage
impl EntitlementUsage
sourcepub fn builder() -> EntitlementUsageBuilder
pub fn builder() -> EntitlementUsageBuilder
Creates a new builder-style object to manufacture EntitlementUsage.
Trait Implementations§
source§impl Clone for EntitlementUsage
impl Clone for EntitlementUsage
source§fn clone(&self) -> EntitlementUsage
fn clone(&self) -> EntitlementUsage
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 EntitlementUsage
impl Debug for EntitlementUsage
source§impl PartialEq<EntitlementUsage> for EntitlementUsage
impl PartialEq<EntitlementUsage> for EntitlementUsage
source§fn eq(&self, other: &EntitlementUsage) -> bool
fn eq(&self, other: &EntitlementUsage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EntitlementUsage
Auto Trait Implementations§
impl RefUnwindSafe for EntitlementUsage
impl Send for EntitlementUsage
impl Sync for EntitlementUsage
impl Unpin for EntitlementUsage
impl UnwindSafe for EntitlementUsage
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