pub struct LogicalNetworkInterface {
pub default_gateway: Option<bool>,
pub id: Option<String>,
pub ip_address: Option<String>,
pub network: Option<String>,
pub network_type: Option<String>,
}Expand description
Each logical network interface is effectively a network and IP pair.
This type is not used in any activity, and only used as part of another schema.
Fields§
§default_gateway: Option<bool>Whether this interface is the default gateway for the instance. Only one interface can be the default gateway for the instance.
id: Option<String>An identifier for the Network, generated by the backend.
ip_address: Option<String>IP address in the network
network: Option<String>Name of the network
network_type: Option<String>Type of network.
Trait Implementations§
Source§impl Clone for LogicalNetworkInterface
impl Clone for LogicalNetworkInterface
Source§fn clone(&self) -> LogicalNetworkInterface
fn clone(&self) -> LogicalNetworkInterface
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 LogicalNetworkInterface
impl Debug for LogicalNetworkInterface
Source§impl Default for LogicalNetworkInterface
impl Default for LogicalNetworkInterface
Source§fn default() -> LogicalNetworkInterface
fn default() -> LogicalNetworkInterface
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogicalNetworkInterface
impl<'de> Deserialize<'de> for LogicalNetworkInterface
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 Serialize for LogicalNetworkInterface
impl Serialize for LogicalNetworkInterface
impl Part for LogicalNetworkInterface
Auto Trait Implementations§
impl Freeze for LogicalNetworkInterface
impl RefUnwindSafe for LogicalNetworkInterface
impl Send for LogicalNetworkInterface
impl Sync for LogicalNetworkInterface
impl Unpin for LogicalNetworkInterface
impl UnwindSafe for LogicalNetworkInterface
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