Struct aws_sdk_config::model::ResourceCountFilters
source · [−]#[non_exhaustive]pub struct ResourceCountFilters {
pub resource_type: Option<ResourceType>,
pub account_id: Option<String>,
pub region: Option<String>,
}Expand description
Filters the resource count based on account ID, region, and resource type.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resource_type: Option<ResourceType>The type of the Amazon Web Services resource.
account_id: Option<String>The 12-digit ID of the account.
region: Option<String>The region where the account is located.
Implementations
sourceimpl ResourceCountFilters
impl ResourceCountFilters
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The type of the Amazon Web Services resource.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The 12-digit ID of the account.
sourceimpl ResourceCountFilters
impl ResourceCountFilters
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResourceCountFilters
Trait Implementations
sourceimpl Clone for ResourceCountFilters
impl Clone for ResourceCountFilters
sourcefn clone(&self) -> ResourceCountFilters
fn clone(&self) -> ResourceCountFilters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ResourceCountFilters
impl Debug for ResourceCountFilters
sourceimpl PartialEq<ResourceCountFilters> for ResourceCountFilters
impl PartialEq<ResourceCountFilters> for ResourceCountFilters
sourcefn eq(&self, other: &ResourceCountFilters) -> bool
fn eq(&self, other: &ResourceCountFilters) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ResourceCountFilters) -> bool
fn ne(&self, other: &ResourceCountFilters) -> bool
This method tests for !=.
impl StructuralPartialEq for ResourceCountFilters
Auto Trait Implementations
impl RefUnwindSafe for ResourceCountFilters
impl Send for ResourceCountFilters
impl Sync for ResourceCountFilters
impl Unpin for ResourceCountFilters
impl UnwindSafe for ResourceCountFilters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more