#[non_exhaustive]pub struct ManagedResourceSummary {
pub resource_type: Option<ResourceType>,
pub association_count: Option<i64>,
}Expand description
Summary information about a managed 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.resource_type: Option<ResourceType>Type of resource associated with a license.
association_count: Option<i64>Number of resources associated with licenses.
Implementations§
source§impl ManagedResourceSummary
impl ManagedResourceSummary
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
Type of resource associated with a license.
sourcepub fn association_count(&self) -> Option<i64>
pub fn association_count(&self) -> Option<i64>
Number of resources associated with licenses.
source§impl ManagedResourceSummary
impl ManagedResourceSummary
sourcepub fn builder() -> ManagedResourceSummaryBuilder
pub fn builder() -> ManagedResourceSummaryBuilder
Creates a new builder-style object to manufacture ManagedResourceSummary.
Trait Implementations§
source§impl Clone for ManagedResourceSummary
impl Clone for ManagedResourceSummary
source§fn clone(&self) -> ManagedResourceSummary
fn clone(&self) -> ManagedResourceSummary
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 ManagedResourceSummary
impl Debug for ManagedResourceSummary
source§impl PartialEq<ManagedResourceSummary> for ManagedResourceSummary
impl PartialEq<ManagedResourceSummary> for ManagedResourceSummary
source§fn eq(&self, other: &ManagedResourceSummary) -> bool
fn eq(&self, other: &ManagedResourceSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ManagedResourceSummary
Auto Trait Implementations§
impl RefUnwindSafe for ManagedResourceSummary
impl Send for ManagedResourceSummary
impl Sync for ManagedResourceSummary
impl Unpin for ManagedResourceSummary
impl UnwindSafe for ManagedResourceSummary
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