#[non_exhaustive]
pub struct Explanation {
Show 53 fields pub acl: Option<AnalysisComponent>, pub acl_rule: Option<AnalysisAclRule>, pub address: Option<String>, pub addresses: Option<Vec<String>>, pub attached_to: Option<AnalysisComponent>, pub availability_zones: Option<Vec<String>>, pub cidrs: Option<Vec<String>>, pub component: Option<AnalysisComponent>, pub customer_gateway: Option<AnalysisComponent>, pub destination: Option<AnalysisComponent>, pub destination_vpc: Option<AnalysisComponent>, pub direction: Option<String>, pub explanation_code: Option<String>, pub ingress_route_table: Option<AnalysisComponent>, pub internet_gateway: Option<AnalysisComponent>, pub load_balancer_arn: Option<String>, pub classic_load_balancer_listener: Option<AnalysisLoadBalancerListener>, pub load_balancer_listener_port: Option<i32>, pub load_balancer_target: Option<AnalysisLoadBalancerTarget>, pub load_balancer_target_group: Option<AnalysisComponent>, pub load_balancer_target_groups: Option<Vec<AnalysisComponent>>, pub load_balancer_target_port: Option<i32>, pub elastic_load_balancer_listener: Option<AnalysisComponent>, pub missing_component: Option<String>, pub nat_gateway: Option<AnalysisComponent>, pub network_interface: Option<AnalysisComponent>, pub packet_field: Option<String>, pub vpc_peering_connection: Option<AnalysisComponent>, pub port: Option<i32>, pub port_ranges: Option<Vec<PortRange>>, pub prefix_list: Option<AnalysisComponent>, pub protocols: Option<Vec<String>>, pub route_table_route: Option<AnalysisRouteTableRoute>, pub route_table: Option<AnalysisComponent>, pub security_group: Option<AnalysisComponent>, pub security_group_rule: Option<AnalysisSecurityGroupRule>, pub security_groups: Option<Vec<AnalysisComponent>>, pub source_vpc: Option<AnalysisComponent>, pub state: Option<String>, pub subnet: Option<AnalysisComponent>, pub subnet_route_table: Option<AnalysisComponent>, pub vpc: Option<AnalysisComponent>, pub vpc_endpoint: Option<AnalysisComponent>, pub vpn_connection: Option<AnalysisComponent>, pub vpn_gateway: Option<AnalysisComponent>, pub transit_gateway: Option<AnalysisComponent>, pub transit_gateway_route_table: Option<AnalysisComponent>, pub transit_gateway_route_table_route: Option<TransitGatewayRouteTableRoute>, pub transit_gateway_attachment: Option<AnalysisComponent>, pub component_account: Option<String>, pub component_region: Option<String>, pub firewall_stateless_rule: Option<FirewallStatelessRule>, pub firewall_stateful_rule: Option<FirewallStatefulRule>,
}
Expand description

Describes an explanation code for an unreachable path. For more information, see Reachability Analyzer explanation codes.

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.
§acl: Option<AnalysisComponent>

The network ACL.

§acl_rule: Option<AnalysisAclRule>

The network ACL rule.

§address: Option<String>

The IPv4 address, in CIDR notation.

§addresses: Option<Vec<String>>

The IPv4 addresses, in CIDR notation.

§attached_to: Option<AnalysisComponent>

The resource to which the component is attached.

§availability_zones: Option<Vec<String>>

The Availability Zones.

§cidrs: Option<Vec<String>>

The CIDR ranges.

§component: Option<AnalysisComponent>

The component.

§customer_gateway: Option<AnalysisComponent>

The customer gateway.

§destination: Option<AnalysisComponent>

The destination.

§destination_vpc: Option<AnalysisComponent>

The destination VPC.

§direction: Option<String>

The direction. The following are the possible values:

  • egress

  • ingress

§explanation_code: Option<String>

The explanation code.

§ingress_route_table: Option<AnalysisComponent>

The route table.

§internet_gateway: Option<AnalysisComponent>

The internet gateway.

§load_balancer_arn: Option<String>

The Amazon Resource Name (ARN) of the load balancer.

§classic_load_balancer_listener: Option<AnalysisLoadBalancerListener>

The listener for a Classic Load Balancer.

§load_balancer_listener_port: Option<i32>

The listener port of the load balancer.

§load_balancer_target: Option<AnalysisLoadBalancerTarget>

The target.

§load_balancer_target_group: Option<AnalysisComponent>

The target group.

§load_balancer_target_groups: Option<Vec<AnalysisComponent>>

The target groups.

§load_balancer_target_port: Option<i32>

The target port.

§elastic_load_balancer_listener: Option<AnalysisComponent>

The load balancer listener.

§missing_component: Option<String>

The missing component.

§nat_gateway: Option<AnalysisComponent>

The NAT gateway.

§network_interface: Option<AnalysisComponent>

The network interface.

§packet_field: Option<String>

The packet field.

§vpc_peering_connection: Option<AnalysisComponent>

The VPC peering connection.

§port: Option<i32>

The port.

§port_ranges: Option<Vec<PortRange>>

The port ranges.

§prefix_list: Option<AnalysisComponent>

The prefix list.

§protocols: Option<Vec<String>>

The protocols.

§route_table_route: Option<AnalysisRouteTableRoute>

The route table route.

§route_table: Option<AnalysisComponent>

The route table.

§security_group: Option<AnalysisComponent>

The security group.

§security_group_rule: Option<AnalysisSecurityGroupRule>

The security group rule.

§security_groups: Option<Vec<AnalysisComponent>>

The security groups.

§source_vpc: Option<AnalysisComponent>

The source VPC.

§state: Option<String>

The state.

§subnet: Option<AnalysisComponent>

The subnet.

§subnet_route_table: Option<AnalysisComponent>

The route table for the subnet.

§vpc: Option<AnalysisComponent>

The component VPC.

§vpc_endpoint: Option<AnalysisComponent>

The VPC endpoint.

§vpn_connection: Option<AnalysisComponent>

The VPN connection.

§vpn_gateway: Option<AnalysisComponent>

The VPN gateway.

§transit_gateway: Option<AnalysisComponent>

The transit gateway.

§transit_gateway_route_table: Option<AnalysisComponent>

The transit gateway route table.

§transit_gateway_route_table_route: Option<TransitGatewayRouteTableRoute>

The transit gateway route table route.

§transit_gateway_attachment: Option<AnalysisComponent>

The transit gateway attachment.

§component_account: Option<String>

The Amazon Web Services account for the component.

§component_region: Option<String>

The Region for the component.

§firewall_stateless_rule: Option<FirewallStatelessRule>

The Network Firewall stateless rule.

§firewall_stateful_rule: Option<FirewallStatefulRule>

The Network Firewall stateful rule.

Implementations§

source§

impl Explanation

source

pub fn acl(&self) -> Option<&AnalysisComponent>

The network ACL.

source

pub fn acl_rule(&self) -> Option<&AnalysisAclRule>

The network ACL rule.

source

pub fn address(&self) -> Option<&str>

The IPv4 address, in CIDR notation.

source

pub fn addresses(&self) -> Option<&[String]>

The IPv4 addresses, in CIDR notation.

source

pub fn attached_to(&self) -> Option<&AnalysisComponent>

The resource to which the component is attached.

source

pub fn availability_zones(&self) -> Option<&[String]>

The Availability Zones.

source

pub fn cidrs(&self) -> Option<&[String]>

The CIDR ranges.

source

pub fn component(&self) -> Option<&AnalysisComponent>

The component.

source

pub fn customer_gateway(&self) -> Option<&AnalysisComponent>

The customer gateway.

source

pub fn destination(&self) -> Option<&AnalysisComponent>

The destination.

source

pub fn destination_vpc(&self) -> Option<&AnalysisComponent>

The destination VPC.

source

pub fn direction(&self) -> Option<&str>

The direction. The following are the possible values:

  • egress

  • ingress

source

pub fn explanation_code(&self) -> Option<&str>

The explanation code.

source

pub fn ingress_route_table(&self) -> Option<&AnalysisComponent>

The route table.

source

pub fn internet_gateway(&self) -> Option<&AnalysisComponent>

The internet gateway.

source

pub fn load_balancer_arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) of the load balancer.

source

pub fn classic_load_balancer_listener( &self ) -> Option<&AnalysisLoadBalancerListener>

The listener for a Classic Load Balancer.

source

pub fn load_balancer_listener_port(&self) -> Option<i32>

The listener port of the load balancer.

source

pub fn load_balancer_target(&self) -> Option<&AnalysisLoadBalancerTarget>

The target.

source

pub fn load_balancer_target_group(&self) -> Option<&AnalysisComponent>

The target group.

source

pub fn load_balancer_target_groups(&self) -> Option<&[AnalysisComponent]>

The target groups.

source

pub fn load_balancer_target_port(&self) -> Option<i32>

The target port.

source

pub fn elastic_load_balancer_listener(&self) -> Option<&AnalysisComponent>

The load balancer listener.

source

pub fn missing_component(&self) -> Option<&str>

The missing component.

source

pub fn nat_gateway(&self) -> Option<&AnalysisComponent>

The NAT gateway.

source

pub fn network_interface(&self) -> Option<&AnalysisComponent>

The network interface.

source

pub fn packet_field(&self) -> Option<&str>

The packet field.

source

pub fn vpc_peering_connection(&self) -> Option<&AnalysisComponent>

The VPC peering connection.

source

pub fn port(&self) -> Option<i32>

The port.

source

pub fn port_ranges(&self) -> Option<&[PortRange]>

The port ranges.

source

pub fn prefix_list(&self) -> Option<&AnalysisComponent>

The prefix list.

source

pub fn protocols(&self) -> Option<&[String]>

The protocols.

source

pub fn route_table_route(&self) -> Option<&AnalysisRouteTableRoute>

The route table route.

source

pub fn route_table(&self) -> Option<&AnalysisComponent>

The route table.

source

pub fn security_group(&self) -> Option<&AnalysisComponent>

The security group.

source

pub fn security_group_rule(&self) -> Option<&AnalysisSecurityGroupRule>

The security group rule.

source

pub fn security_groups(&self) -> Option<&[AnalysisComponent]>

The security groups.

source

pub fn source_vpc(&self) -> Option<&AnalysisComponent>

The source VPC.

source

pub fn state(&self) -> Option<&str>

The state.

source

pub fn subnet(&self) -> Option<&AnalysisComponent>

The subnet.

source

pub fn subnet_route_table(&self) -> Option<&AnalysisComponent>

The route table for the subnet.

source

pub fn vpc(&self) -> Option<&AnalysisComponent>

The component VPC.

source

pub fn vpc_endpoint(&self) -> Option<&AnalysisComponent>

The VPC endpoint.

source

pub fn vpn_connection(&self) -> Option<&AnalysisComponent>

The VPN connection.

source

pub fn vpn_gateway(&self) -> Option<&AnalysisComponent>

The VPN gateway.

source

pub fn transit_gateway(&self) -> Option<&AnalysisComponent>

The transit gateway.

source

pub fn transit_gateway_route_table(&self) -> Option<&AnalysisComponent>

The transit gateway route table.

source

pub fn transit_gateway_route_table_route( &self ) -> Option<&TransitGatewayRouteTableRoute>

The transit gateway route table route.

source

pub fn transit_gateway_attachment(&self) -> Option<&AnalysisComponent>

The transit gateway attachment.

source

pub fn component_account(&self) -> Option<&str>

The Amazon Web Services account for the component.

source

pub fn component_region(&self) -> Option<&str>

The Region for the component.

source

pub fn firewall_stateless_rule(&self) -> Option<&FirewallStatelessRule>

The Network Firewall stateless rule.

source

pub fn firewall_stateful_rule(&self) -> Option<&FirewallStatefulRule>

The Network Firewall stateful rule.

source§

impl Explanation

source

pub fn builder() -> ExplanationBuilder

Creates a new builder-style object to manufacture Explanation.

Trait Implementations§

source§

impl Clone for Explanation

source§

fn clone(&self) -> Explanation

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Explanation

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<Explanation> for Explanation

source§

fn eq(&self, other: &Explanation) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for Explanation

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more