#[non_exhaustive]pub struct NextHopInterconnectAttachment {
pub uri: String,
pub vpc_network: String,
pub site_to_site_data_transfer: bool,
/* private fields */
}Expand description
A route next hop that leads to an interconnect attachment resource.
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.uri: StringThe URI of the interconnect attachment resource.
vpc_network: StringThe VPC network where this interconnect attachment is located.
site_to_site_data_transfer: boolIndicates whether site-to-site data transfer is allowed for this interconnect attachment resource. Data transfer is available only in supported locations.
Implementations§
Source§impl NextHopInterconnectAttachment
impl NextHopInterconnectAttachment
pub fn new() -> Self
Sourcepub fn set_vpc_network<T: Into<String>>(self, v: T) -> Self
pub fn set_vpc_network<T: Into<String>>(self, v: T) -> Self
Sets the value of vpc_network.
Sourcepub fn set_site_to_site_data_transfer<T: Into<bool>>(self, v: T) -> Self
pub fn set_site_to_site_data_transfer<T: Into<bool>>(self, v: T) -> Self
Sets the value of site_to_site_data_transfer.
Trait Implementations§
Source§impl Clone for NextHopInterconnectAttachment
impl Clone for NextHopInterconnectAttachment
Source§fn clone(&self) -> NextHopInterconnectAttachment
fn clone(&self) -> NextHopInterconnectAttachment
Returns a duplicate 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 Default for NextHopInterconnectAttachment
impl Default for NextHopInterconnectAttachment
Source§fn default() -> NextHopInterconnectAttachment
fn default() -> NextHopInterconnectAttachment
Returns the “default value” for a type. Read more
Source§impl PartialEq for NextHopInterconnectAttachment
impl PartialEq for NextHopInterconnectAttachment
Source§fn eq(&self, other: &NextHopInterconnectAttachment) -> bool
fn eq(&self, other: &NextHopInterconnectAttachment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NextHopInterconnectAttachment
Auto Trait Implementations§
impl Freeze for NextHopInterconnectAttachment
impl RefUnwindSafe for NextHopInterconnectAttachment
impl Send for NextHopInterconnectAttachment
impl Sync for NextHopInterconnectAttachment
impl Unpin for NextHopInterconnectAttachment
impl UnwindSafe for NextHopInterconnectAttachment
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