#[non_exhaustive]pub struct TransitGatewayPrefixListReference {
pub transit_gateway_route_table_id: Option<String>,
pub prefix_list_id: Option<String>,
pub prefix_list_owner_id: Option<String>,
pub state: Option<TransitGatewayPrefixListReferenceState>,
pub blackhole: Option<bool>,
pub transit_gateway_attachment: Option<TransitGatewayPrefixListAttachment>,
}
Expand description
Describes a prefix list reference.
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.transit_gateway_route_table_id: Option<String>
The ID of the transit gateway route table.
prefix_list_id: Option<String>
The ID of the prefix list.
prefix_list_owner_id: Option<String>
The ID of the prefix list owner.
state: Option<TransitGatewayPrefixListReferenceState>
The state of the prefix list reference.
blackhole: Option<bool>
Indicates whether traffic that matches this route is dropped.
transit_gateway_attachment: Option<TransitGatewayPrefixListAttachment>
Information about the transit gateway attachment.
Implementations
sourceimpl TransitGatewayPrefixListReference
impl TransitGatewayPrefixListReference
sourcepub fn transit_gateway_route_table_id(&self) -> Option<&str>
pub fn transit_gateway_route_table_id(&self) -> Option<&str>
The ID of the transit gateway route table.
sourcepub fn prefix_list_id(&self) -> Option<&str>
pub fn prefix_list_id(&self) -> Option<&str>
The ID of the prefix list.
sourcepub fn prefix_list_owner_id(&self) -> Option<&str>
pub fn prefix_list_owner_id(&self) -> Option<&str>
The ID of the prefix list owner.
sourcepub fn state(&self) -> Option<&TransitGatewayPrefixListReferenceState>
pub fn state(&self) -> Option<&TransitGatewayPrefixListReferenceState>
The state of the prefix list reference.
sourcepub fn blackhole(&self) -> Option<bool>
pub fn blackhole(&self) -> Option<bool>
Indicates whether traffic that matches this route is dropped.
sourcepub fn transit_gateway_attachment(
&self
) -> Option<&TransitGatewayPrefixListAttachment>
pub fn transit_gateway_attachment(
&self
) -> Option<&TransitGatewayPrefixListAttachment>
Information about the transit gateway attachment.
sourceimpl TransitGatewayPrefixListReference
impl TransitGatewayPrefixListReference
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TransitGatewayPrefixListReference
.
Trait Implementations
sourceimpl Clone for TransitGatewayPrefixListReference
impl Clone for TransitGatewayPrefixListReference
sourcefn clone(&self) -> TransitGatewayPrefixListReference
fn clone(&self) -> TransitGatewayPrefixListReference
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 PartialEq<TransitGatewayPrefixListReference> for TransitGatewayPrefixListReference
impl PartialEq<TransitGatewayPrefixListReference> for TransitGatewayPrefixListReference
sourcefn eq(&self, other: &TransitGatewayPrefixListReference) -> bool
fn eq(&self, other: &TransitGatewayPrefixListReference) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TransitGatewayPrefixListReference) -> bool
fn ne(&self, other: &TransitGatewayPrefixListReference) -> bool
This method tests for !=
.
impl StructuralPartialEq for TransitGatewayPrefixListReference
Auto Trait Implementations
impl RefUnwindSafe for TransitGatewayPrefixListReference
impl Send for TransitGatewayPrefixListReference
impl Sync for TransitGatewayPrefixListReference
impl Unpin for TransitGatewayPrefixListReference
impl UnwindSafe for TransitGatewayPrefixListReference
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