pub struct DirectLinkInterface {
pub bgp_asn: i32,
pub bgp_key: Option<String>,
pub client_private_ip: Option<String>,
pub direct_link_interface_name: String,
pub outscale_private_ip: Option<String>,
pub virtual_gateway_id: String,
pub vlan: i32,
}
Expand description
DirectLinkInterface : Information about the DirectLink interface.
Fields§
§bgp_asn: i32
The BGP (Border Gateway Protocol) ASN (Autonomous System Number) on the customer’s side of the DirectLink interface.
This number must be between 1
and 4294967295
, except 50624
, 53306
, and 132418
.
If you do not have an ASN, you can choose one between 64512
and 65534
(both included), or between 4200000000
and 4294967295
(both included).
bgp_key: Option<String>
The BGP authentication key.
client_private_ip: Option<String>
The IP on the customer’s side of the DirectLink interface.
direct_link_interface_name: String
The name of the DirectLink interface.
outscale_private_ip: Option<String>
The IP on the OUTSCALE side of the DirectLink interface.
virtual_gateway_id: String
The ID of the target virtual gateway.
vlan: i32
The VLAN number associated with the DirectLink interface. This number must be unique and be between 2
and 4094
.
Implementations§
Trait Implementations§
Source§impl Clone for DirectLinkInterface
impl Clone for DirectLinkInterface
Source§fn clone(&self) -> DirectLinkInterface
fn clone(&self) -> DirectLinkInterface
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 Debug for DirectLinkInterface
impl Debug for DirectLinkInterface
Source§impl Default for DirectLinkInterface
impl Default for DirectLinkInterface
Source§fn default() -> DirectLinkInterface
fn default() -> DirectLinkInterface
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DirectLinkInterface
impl<'de> Deserialize<'de> for DirectLinkInterface
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DirectLinkInterface
impl PartialEq for DirectLinkInterface
Source§impl Serialize for DirectLinkInterface
impl Serialize for DirectLinkInterface
impl StructuralPartialEq for DirectLinkInterface
Auto Trait Implementations§
impl Freeze for DirectLinkInterface
impl RefUnwindSafe for DirectLinkInterface
impl Send for DirectLinkInterface
impl Sync for DirectLinkInterface
impl Unpin for DirectLinkInterface
impl UnwindSafe for DirectLinkInterface
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Converts
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>
Converts
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