Struct aws_sdk_ec2::types::PathComponent
source · #[non_exhaustive]pub struct PathComponent {Show 20 fields
pub sequence_number: Option<i32>,
pub acl_rule: Option<AnalysisAclRule>,
pub attached_to: Option<AnalysisComponent>,
pub component: Option<AnalysisComponent>,
pub destination_vpc: Option<AnalysisComponent>,
pub outbound_header: Option<AnalysisPacketHeader>,
pub inbound_header: Option<AnalysisPacketHeader>,
pub route_table_route: Option<AnalysisRouteTableRoute>,
pub security_group_rule: Option<AnalysisSecurityGroupRule>,
pub source_vpc: Option<AnalysisComponent>,
pub subnet: Option<AnalysisComponent>,
pub vpc: Option<AnalysisComponent>,
pub additional_details: Option<Vec<AdditionalDetail>>,
pub transit_gateway: Option<AnalysisComponent>,
pub transit_gateway_route_table_route: Option<TransitGatewayRouteTableRoute>,
pub explanations: Option<Vec<Explanation>>,
pub elastic_load_balancer_listener: Option<AnalysisComponent>,
pub firewall_stateless_rule: Option<FirewallStatelessRule>,
pub firewall_stateful_rule: Option<FirewallStatefulRule>,
pub service_name: Option<String>,
}
Expand description
Describes a path component.
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.sequence_number: Option<i32>
The sequence number.
acl_rule: Option<AnalysisAclRule>
The network ACL rule.
attached_to: Option<AnalysisComponent>
The resource to which the path component is attached.
component: Option<AnalysisComponent>
The component.
destination_vpc: Option<AnalysisComponent>
The destination VPC.
outbound_header: Option<AnalysisPacketHeader>
The outbound header.
inbound_header: Option<AnalysisPacketHeader>
The inbound header.
route_table_route: Option<AnalysisRouteTableRoute>
The route table route.
security_group_rule: Option<AnalysisSecurityGroupRule>
The security group rule.
source_vpc: Option<AnalysisComponent>
The source VPC.
subnet: Option<AnalysisComponent>
The subnet.
vpc: Option<AnalysisComponent>
The component VPC.
additional_details: Option<Vec<AdditionalDetail>>
The additional details.
transit_gateway: Option<AnalysisComponent>
The transit gateway.
transit_gateway_route_table_route: Option<TransitGatewayRouteTableRoute>
The route in a transit gateway route table.
explanations: Option<Vec<Explanation>>
The explanation codes.
elastic_load_balancer_listener: Option<AnalysisComponent>
The load balancer listener.
firewall_stateless_rule: Option<FirewallStatelessRule>
The Network Firewall stateless rule.
firewall_stateful_rule: Option<FirewallStatefulRule>
The Network Firewall stateful rule.
service_name: Option<String>
The name of the VPC endpoint service.
Implementations§
source§impl PathComponent
impl PathComponent
sourcepub fn sequence_number(&self) -> Option<i32>
pub fn sequence_number(&self) -> Option<i32>
The sequence number.
sourcepub fn acl_rule(&self) -> Option<&AnalysisAclRule>
pub fn acl_rule(&self) -> Option<&AnalysisAclRule>
The network ACL rule.
sourcepub fn attached_to(&self) -> Option<&AnalysisComponent>
pub fn attached_to(&self) -> Option<&AnalysisComponent>
The resource to which the path component is attached.
sourcepub fn component(&self) -> Option<&AnalysisComponent>
pub fn component(&self) -> Option<&AnalysisComponent>
The component.
sourcepub fn destination_vpc(&self) -> Option<&AnalysisComponent>
pub fn destination_vpc(&self) -> Option<&AnalysisComponent>
The destination VPC.
sourcepub fn outbound_header(&self) -> Option<&AnalysisPacketHeader>
pub fn outbound_header(&self) -> Option<&AnalysisPacketHeader>
The outbound header.
sourcepub fn inbound_header(&self) -> Option<&AnalysisPacketHeader>
pub fn inbound_header(&self) -> Option<&AnalysisPacketHeader>
The inbound header.
sourcepub fn route_table_route(&self) -> Option<&AnalysisRouteTableRoute>
pub fn route_table_route(&self) -> Option<&AnalysisRouteTableRoute>
The route table route.
sourcepub fn security_group_rule(&self) -> Option<&AnalysisSecurityGroupRule>
pub fn security_group_rule(&self) -> Option<&AnalysisSecurityGroupRule>
The security group rule.
sourcepub fn source_vpc(&self) -> Option<&AnalysisComponent>
pub fn source_vpc(&self) -> Option<&AnalysisComponent>
The source VPC.
sourcepub fn subnet(&self) -> Option<&AnalysisComponent>
pub fn subnet(&self) -> Option<&AnalysisComponent>
The subnet.
sourcepub fn vpc(&self) -> Option<&AnalysisComponent>
pub fn vpc(&self) -> Option<&AnalysisComponent>
The component VPC.
sourcepub fn additional_details(&self) -> &[AdditionalDetail]
pub fn additional_details(&self) -> &[AdditionalDetail]
The additional details.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .additional_details.is_none()
.
sourcepub fn transit_gateway(&self) -> Option<&AnalysisComponent>
pub fn transit_gateway(&self) -> Option<&AnalysisComponent>
The transit gateway.
sourcepub fn transit_gateway_route_table_route(
&self,
) -> Option<&TransitGatewayRouteTableRoute>
pub fn transit_gateway_route_table_route( &self, ) -> Option<&TransitGatewayRouteTableRoute>
The route in a transit gateway route table.
sourcepub fn explanations(&self) -> &[Explanation]
pub fn explanations(&self) -> &[Explanation]
The explanation codes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .explanations.is_none()
.
sourcepub fn elastic_load_balancer_listener(&self) -> Option<&AnalysisComponent>
pub fn elastic_load_balancer_listener(&self) -> Option<&AnalysisComponent>
The load balancer listener.
sourcepub fn firewall_stateless_rule(&self) -> Option<&FirewallStatelessRule>
pub fn firewall_stateless_rule(&self) -> Option<&FirewallStatelessRule>
The Network Firewall stateless rule.
sourcepub fn firewall_stateful_rule(&self) -> Option<&FirewallStatefulRule>
pub fn firewall_stateful_rule(&self) -> Option<&FirewallStatefulRule>
The Network Firewall stateful rule.
sourcepub fn service_name(&self) -> Option<&str>
pub fn service_name(&self) -> Option<&str>
The name of the VPC endpoint service.
source§impl PathComponent
impl PathComponent
sourcepub fn builder() -> PathComponentBuilder
pub fn builder() -> PathComponentBuilder
Creates a new builder-style object to manufacture PathComponent
.
Trait Implementations§
source§impl Clone for PathComponent
impl Clone for PathComponent
source§fn clone(&self) -> PathComponent
fn clone(&self) -> PathComponent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PathComponent
impl Debug for PathComponent
source§impl PartialEq for PathComponent
impl PartialEq for PathComponent
source§fn eq(&self, other: &PathComponent) -> bool
fn eq(&self, other: &PathComponent) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PathComponent
Auto Trait Implementations§
impl Freeze for PathComponent
impl RefUnwindSafe for PathComponent
impl Send for PathComponent
impl Sync for PathComponent
impl Unpin for PathComponent
impl UnwindSafe for PathComponent
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more