#[non_exhaustive]pub struct PhysicalConnectionRequirements {
pub subnet_id: Option<String>,
pub security_group_id_list: Option<Vec<String>>,
pub availability_zone: Option<String>,
}Expand description
Specifies the physical requirements for a connection.
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.subnet_id: Option<String>The subnet ID used by the connection.
security_group_id_list: Option<Vec<String>>The security group ID list used by the connection.
availability_zone: Option<String>The connection's Availability Zone. This field is redundant because the specified subnet implies the Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the future.
Implementations§
source§impl PhysicalConnectionRequirements
impl PhysicalConnectionRequirements
sourcepub fn security_group_id_list(&self) -> Option<&[String]>
pub fn security_group_id_list(&self) -> Option<&[String]>
The security group ID list used by the connection.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The connection's Availability Zone. This field is redundant because the specified subnet implies the Availability Zone to be used. Currently the field must be populated, but it will be deprecated in the future.
source§impl PhysicalConnectionRequirements
impl PhysicalConnectionRequirements
sourcepub fn builder() -> PhysicalConnectionRequirementsBuilder
pub fn builder() -> PhysicalConnectionRequirementsBuilder
Creates a new builder-style object to manufacture PhysicalConnectionRequirements.
Trait Implementations§
source§impl Clone for PhysicalConnectionRequirements
impl Clone for PhysicalConnectionRequirements
source§fn clone(&self) -> PhysicalConnectionRequirements
fn clone(&self) -> PhysicalConnectionRequirements
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 PartialEq<PhysicalConnectionRequirements> for PhysicalConnectionRequirements
impl PartialEq<PhysicalConnectionRequirements> for PhysicalConnectionRequirements
source§fn eq(&self, other: &PhysicalConnectionRequirements) -> bool
fn eq(&self, other: &PhysicalConnectionRequirements) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PhysicalConnectionRequirements
Auto Trait Implementations§
impl RefUnwindSafe for PhysicalConnectionRequirements
impl Send for PhysicalConnectionRequirements
impl Sync for PhysicalConnectionRequirements
impl Unpin for PhysicalConnectionRequirements
impl UnwindSafe for PhysicalConnectionRequirements
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