#[non_exhaustive]pub struct NextHopRouterApplianceInstance {
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 a Router appliance instance.
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 Router appliance instance.
vpc_network: StringThe VPC network where this VM is located.
site_to_site_data_transfer: boolIndicates whether site-to-site data transfer is allowed for this Router appliance instance resource. Data transfer is available only in supported locations.
Implementations§
Source§impl NextHopRouterApplianceInstance
impl NextHopRouterApplianceInstance
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 NextHopRouterApplianceInstance
impl Clone for NextHopRouterApplianceInstance
Source§fn clone(&self) -> NextHopRouterApplianceInstance
fn clone(&self) -> NextHopRouterApplianceInstance
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 NextHopRouterApplianceInstance
impl Default for NextHopRouterApplianceInstance
Source§fn default() -> NextHopRouterApplianceInstance
fn default() -> NextHopRouterApplianceInstance
Returns the “default value” for a type. Read more
Source§impl PartialEq for NextHopRouterApplianceInstance
impl PartialEq for NextHopRouterApplianceInstance
Source§fn eq(&self, other: &NextHopRouterApplianceInstance) -> bool
fn eq(&self, other: &NextHopRouterApplianceInstance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NextHopRouterApplianceInstance
Auto Trait Implementations§
impl Freeze for NextHopRouterApplianceInstance
impl RefUnwindSafe for NextHopRouterApplianceInstance
impl Send for NextHopRouterApplianceInstance
impl Sync for NextHopRouterApplianceInstance
impl Unpin for NextHopRouterApplianceInstance
impl UnwindSafe for NextHopRouterApplianceInstance
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