Struct google_compute1::RouterInterface
source · pub struct RouterInterface {
pub linked_interconnect_attachment: Option<String>,
pub linked_vpn_tunnel: Option<String>,
pub ip_range: Option<String>,
pub name: Option<String>,
}Expand description
There is no detailed description.
This type is not used in any activity, and only used as part of another schema.
Fields§
§linked_interconnect_attachment: Option<String>URI of the linked interconnect attachment. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
linked_vpn_tunnel: Option<String>URI of the linked VPN tunnel. It must be in the same region as the router. Each interface can have at most one linked resource and it could either be a VPN Tunnel or an interconnect attachment.
ip_range: Option<String>IP address and range of the interface. The IP range must be in the RFC3927 link-local IP space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface.
name: Option<String>Name of this interface entry. The name must be 1-63 characters long and comply with RFC1035.
Trait Implementations§
source§impl Clone for RouterInterface
impl Clone for RouterInterface
source§fn clone(&self) -> RouterInterface
fn clone(&self) -> RouterInterface
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RouterInterface
impl Debug for RouterInterface
source§impl Default for RouterInterface
impl Default for RouterInterface
source§fn default() -> RouterInterface
fn default() -> RouterInterface
source§impl<'de> Deserialize<'de> for RouterInterface
impl<'de> Deserialize<'de> for RouterInterface
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>,
source§impl Serialize for RouterInterface
impl Serialize for RouterInterface
impl Part for RouterInterface
Auto Trait Implementations§
impl Freeze for RouterInterface
impl RefUnwindSafe for RouterInterface
impl Send for RouterInterface
impl Sync for RouterInterface
impl Unpin for RouterInterface
impl UnwindSafe for RouterInterface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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