Struct aws_sdk_ec2::types::RouteTableAssociationState
source · #[non_exhaustive]pub struct RouteTableAssociationState {
pub state: Option<RouteTableAssociationStateCode>,
pub status_message: Option<String>,
}
Expand description
Describes the state of an association between a route table and a subnet or gateway.
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.state: Option<RouteTableAssociationStateCode>
The state of the association.
status_message: Option<String>
The status message, if applicable.
Implementations§
source§impl RouteTableAssociationState
impl RouteTableAssociationState
sourcepub fn state(&self) -> Option<&RouteTableAssociationStateCode>
pub fn state(&self) -> Option<&RouteTableAssociationStateCode>
The state of the association.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The status message, if applicable.
source§impl RouteTableAssociationState
impl RouteTableAssociationState
sourcepub fn builder() -> RouteTableAssociationStateBuilder
pub fn builder() -> RouteTableAssociationStateBuilder
Creates a new builder-style object to manufacture RouteTableAssociationState
.
Trait Implementations§
source§impl Clone for RouteTableAssociationState
impl Clone for RouteTableAssociationState
source§fn clone(&self) -> RouteTableAssociationState
fn clone(&self) -> RouteTableAssociationState
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 RouteTableAssociationState
impl Debug for RouteTableAssociationState
source§impl PartialEq<RouteTableAssociationState> for RouteTableAssociationState
impl PartialEq<RouteTableAssociationState> for RouteTableAssociationState
source§fn eq(&self, other: &RouteTableAssociationState) -> bool
fn eq(&self, other: &RouteTableAssociationState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RouteTableAssociationState
Auto Trait Implementations§
impl RefUnwindSafe for RouteTableAssociationState
impl Send for RouteTableAssociationState
impl Sync for RouteTableAssociationState
impl Unpin for RouteTableAssociationState
impl UnwindSafe for RouteTableAssociationState
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