pub struct NetworkInterface {
pub access_configs: Option<Vec<AccessConfig>>,
pub name: Option<String>,
pub network: Option<String>,
pub network_ip: Option<String>,
}Expand description
A Compute Engine NetworkInterface resource. Identical to the NetworkInterface on the corresponding Compute Engine resource.
This type is not used in any activity, and only used as part of another schema.
Fields§
§access_configs: Option<Vec<AccessConfig>>An array of configurations for this interface. This specifies how this interface is configured to interact with other network services
name: Option<String>Name of the interface.
network: Option<String>The name of the NetworkModule to which this interface applies. If not specified, or specified as ‘default’, this will use the ‘default’ network.
network_ip: Option<String>An optional IPV4 internal network address to assign to the instance for this network interface.
Trait Implementations§
Source§impl Clone for NetworkInterface
impl Clone for NetworkInterface
Source§fn clone(&self) -> NetworkInterface
fn clone(&self) -> NetworkInterface
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 NetworkInterface
impl Debug for NetworkInterface
Source§impl Default for NetworkInterface
impl Default for NetworkInterface
Source§fn default() -> NetworkInterface
fn default() -> NetworkInterface
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkInterface
impl<'de> Deserialize<'de> for NetworkInterface
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 NetworkInterface
impl Serialize for NetworkInterface
impl Part for NetworkInterface
Auto Trait Implementations§
impl Freeze for NetworkInterface
impl RefUnwindSafe for NetworkInterface
impl Send for NetworkInterface
impl Sync for NetworkInterface
impl Unpin for NetworkInterface
impl UnwindSafe for NetworkInterface
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