pub struct NetworkAddress {
pub address: Option<String>,
pub existing_network_id: Option<String>,
pub network_id: Option<String>,
}Expand description
A network.
This type is not used in any activity, and only used as part of another schema.
Fields§
§address: Option<String>IPv4 address to be assigned to the server.
existing_network_id: Option<String>Name of the existing network to use.
network_id: Option<String>Id of the network to use, within the same ProvisioningConfig request.
Trait Implementations§
Source§impl Clone for NetworkAddress
impl Clone for NetworkAddress
Source§fn clone(&self) -> NetworkAddress
fn clone(&self) -> NetworkAddress
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 NetworkAddress
impl Debug for NetworkAddress
Source§impl Default for NetworkAddress
impl Default for NetworkAddress
Source§fn default() -> NetworkAddress
fn default() -> NetworkAddress
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkAddress
impl<'de> Deserialize<'de> for NetworkAddress
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 NetworkAddress
impl Serialize for NetworkAddress
impl Part for NetworkAddress
Auto Trait Implementations§
impl Freeze for NetworkAddress
impl RefUnwindSafe for NetworkAddress
impl Send for NetworkAddress
impl Sync for NetworkAddress
impl Unpin for NetworkAddress
impl UnwindSafe for NetworkAddress
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