#[non_exhaustive]pub struct RouteHasOutOfScopeEndpointViolation {
pub subnet_id: Option<String>,
pub vpc_id: Option<String>,
pub route_table_id: Option<String>,
pub violating_routes: Option<Vec<Route>>,
pub subnet_availability_zone: Option<String>,
pub subnet_availability_zone_id: Option<String>,
pub current_firewall_subnet_route_table: Option<String>,
pub firewall_subnet_id: Option<String>,
pub firewall_subnet_routes: Option<Vec<Route>>,
pub internet_gateway_id: Option<String>,
pub current_internet_gateway_route_table: Option<String>,
pub internet_gateway_routes: Option<Vec<Route>>,
}
Expand description
Contains details about the route endpoint that violates the policy scope.
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.subnet_id: Option<String>
The ID of the subnet associated with the route that violates the policy scope.
vpc_id: Option<String>
The VPC ID of the route that violates the policy scope.
route_table_id: Option<String>
The ID of the route table.
violating_routes: Option<Vec<Route>>
The list of routes that violate the route table.
subnet_availability_zone: Option<String>
The subnet's Availability Zone.
subnet_availability_zone_id: Option<String>
The ID of the subnet's Availability Zone.
current_firewall_subnet_route_table: Option<String>
The route table associated with the current firewall subnet.
firewall_subnet_id: Option<String>
The ID of the firewall subnet.
firewall_subnet_routes: Option<Vec<Route>>
The list of firewall subnet routes.
internet_gateway_id: Option<String>
The ID of the Internet Gateway.
current_internet_gateway_route_table: Option<String>
The current route table associated with the Internet Gateway.
internet_gateway_routes: Option<Vec<Route>>
The routes in the route table associated with the Internet Gateway.
Implementations
sourceimpl RouteHasOutOfScopeEndpointViolation
impl RouteHasOutOfScopeEndpointViolation
sourcepub fn subnet_id(&self) -> Option<&str>
pub fn subnet_id(&self) -> Option<&str>
The ID of the subnet associated with the route that violates the policy scope.
sourcepub fn route_table_id(&self) -> Option<&str>
pub fn route_table_id(&self) -> Option<&str>
The ID of the route table.
sourcepub fn violating_routes(&self) -> Option<&[Route]>
pub fn violating_routes(&self) -> Option<&[Route]>
The list of routes that violate the route table.
sourcepub fn subnet_availability_zone(&self) -> Option<&str>
pub fn subnet_availability_zone(&self) -> Option<&str>
The subnet's Availability Zone.
sourcepub fn subnet_availability_zone_id(&self) -> Option<&str>
pub fn subnet_availability_zone_id(&self) -> Option<&str>
The ID of the subnet's Availability Zone.
sourcepub fn current_firewall_subnet_route_table(&self) -> Option<&str>
pub fn current_firewall_subnet_route_table(&self) -> Option<&str>
The route table associated with the current firewall subnet.
sourcepub fn firewall_subnet_id(&self) -> Option<&str>
pub fn firewall_subnet_id(&self) -> Option<&str>
The ID of the firewall subnet.
sourcepub fn internet_gateway_id(&self) -> Option<&str>
pub fn internet_gateway_id(&self) -> Option<&str>
The ID of the Internet Gateway.
sourcepub fn current_internet_gateway_route_table(&self) -> Option<&str>
pub fn current_internet_gateway_route_table(&self) -> Option<&str>
The current route table associated with the Internet Gateway.
sourceimpl RouteHasOutOfScopeEndpointViolation
impl RouteHasOutOfScopeEndpointViolation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RouteHasOutOfScopeEndpointViolation
Trait Implementations
sourceimpl Clone for RouteHasOutOfScopeEndpointViolation
impl Clone for RouteHasOutOfScopeEndpointViolation
sourcefn clone(&self) -> RouteHasOutOfScopeEndpointViolation
fn clone(&self) -> RouteHasOutOfScopeEndpointViolation
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<RouteHasOutOfScopeEndpointViolation> for RouteHasOutOfScopeEndpointViolation
impl PartialEq<RouteHasOutOfScopeEndpointViolation> for RouteHasOutOfScopeEndpointViolation
sourcefn eq(&self, other: &RouteHasOutOfScopeEndpointViolation) -> bool
fn eq(&self, other: &RouteHasOutOfScopeEndpointViolation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RouteHasOutOfScopeEndpointViolation) -> bool
fn ne(&self, other: &RouteHasOutOfScopeEndpointViolation) -> bool
This method tests for !=
.
impl StructuralPartialEq for RouteHasOutOfScopeEndpointViolation
Auto Trait Implementations
impl RefUnwindSafe for RouteHasOutOfScopeEndpointViolation
impl Send for RouteHasOutOfScopeEndpointViolation
impl Sync for RouteHasOutOfScopeEndpointViolation
impl Unpin for RouteHasOutOfScopeEndpointViolation
impl UnwindSafe for RouteHasOutOfScopeEndpointViolation
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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