#[non_exhaustive]pub struct DirectVpcEgressConnectionInfo {
pub network_uri: String,
pub subnetwork_uri: String,
pub selected_ip_range: String,
pub selected_ip_address: String,
pub region: String,
/* private fields */
}Expand description
For display only. Metadata associated with a serverless direct VPC egress 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.network_uri: StringURI of direct access network.
subnetwork_uri: StringURI of direct access subnetwork.
selected_ip_range: StringSelected IP range.
selected_ip_address: StringSelected starting IP address, from the selected IP range.
region: StringRegion in which the Direct VPC egress is deployed.
Implementations§
Source§impl DirectVpcEgressConnectionInfo
impl DirectVpcEgressConnectionInfo
Sourcepub fn set_network_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_network_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of network_uri.
§Example
ⓘ
let x = DirectVpcEgressConnectionInfo::new().set_network_uri("example");Sourcepub fn set_subnetwork_uri<T: Into<String>>(self, v: T) -> Self
pub fn set_subnetwork_uri<T: Into<String>>(self, v: T) -> Self
Sets the value of subnetwork_uri.
§Example
ⓘ
let x = DirectVpcEgressConnectionInfo::new().set_subnetwork_uri("example");Sourcepub fn set_selected_ip_range<T: Into<String>>(self, v: T) -> Self
pub fn set_selected_ip_range<T: Into<String>>(self, v: T) -> Self
Sets the value of selected_ip_range.
§Example
ⓘ
let x = DirectVpcEgressConnectionInfo::new().set_selected_ip_range("example");Sourcepub fn set_selected_ip_address<T: Into<String>>(self, v: T) -> Self
pub fn set_selected_ip_address<T: Into<String>>(self, v: T) -> Self
Sets the value of selected_ip_address.
§Example
ⓘ
let x = DirectVpcEgressConnectionInfo::new().set_selected_ip_address("example");Trait Implementations§
Source§impl Clone for DirectVpcEgressConnectionInfo
impl Clone for DirectVpcEgressConnectionInfo
Source§fn clone(&self) -> DirectVpcEgressConnectionInfo
fn clone(&self) -> DirectVpcEgressConnectionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DirectVpcEgressConnectionInfo
impl Default for DirectVpcEgressConnectionInfo
Source§fn default() -> DirectVpcEgressConnectionInfo
fn default() -> DirectVpcEgressConnectionInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for DirectVpcEgressConnectionInfo
impl PartialEq for DirectVpcEgressConnectionInfo
Source§fn eq(&self, other: &DirectVpcEgressConnectionInfo) -> bool
fn eq(&self, other: &DirectVpcEgressConnectionInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DirectVpcEgressConnectionInfo
Auto Trait Implementations§
impl Freeze for DirectVpcEgressConnectionInfo
impl RefUnwindSafe for DirectVpcEgressConnectionInfo
impl Send for DirectVpcEgressConnectionInfo
impl Sync for DirectVpcEgressConnectionInfo
impl Unpin for DirectVpcEgressConnectionInfo
impl UnsafeUnpin for DirectVpcEgressConnectionInfo
impl UnwindSafe for DirectVpcEgressConnectionInfo
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