Struct openstack::network::AllowedAddressPair
source · pub struct AllowedAddressPair {
pub ip_address: IpAddr,
pub mac_address: Option<MacAddress>,
}
Expand description
A port’s IP address.
Fields§
§ip_address: IpAddr
§mac_address: Option<MacAddress>
Trait Implementations§
source§impl Clone for AllowedAddressPair
impl Clone for AllowedAddressPair
source§fn clone(&self) -> AllowedAddressPair
fn clone(&self) -> AllowedAddressPair
Returns a copy 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 AllowedAddressPair
impl Debug for AllowedAddressPair
source§impl<'de> Deserialize<'de> for AllowedAddressPair
impl<'de> Deserialize<'de> for AllowedAddressPair
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