Struct aws_sdk_ec2::types::ResourceStatement
source · #[non_exhaustive]pub struct ResourceStatement {
pub resources: Option<Vec<String>>,
pub resource_types: Option<Vec<String>>,
}
Expand description
Describes a resource statement.
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.resources: Option<Vec<String>>
The resources.
resource_types: Option<Vec<String>>
The resource types.
Implementations§
source§impl ResourceStatement
impl ResourceStatement
sourcepub fn builder() -> ResourceStatementBuilder
pub fn builder() -> ResourceStatementBuilder
Creates a new builder-style object to manufacture ResourceStatement
.
Trait Implementations§
source§impl Clone for ResourceStatement
impl Clone for ResourceStatement
source§fn clone(&self) -> ResourceStatement
fn clone(&self) -> ResourceStatement
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 ResourceStatement
impl Debug for ResourceStatement
source§impl PartialEq<ResourceStatement> for ResourceStatement
impl PartialEq<ResourceStatement> for ResourceStatement
source§fn eq(&self, other: &ResourceStatement) -> bool
fn eq(&self, other: &ResourceStatement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceStatement
Auto Trait Implementations§
impl RefUnwindSafe for ResourceStatement
impl Send for ResourceStatement
impl Sync for ResourceStatement
impl Unpin for ResourceStatement
impl UnwindSafe for ResourceStatement
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