Struct openstack::compute::ServerAddress
source · pub struct ServerAddress {
pub addr: IpAddr,
pub mac_addr: Option<String>,
pub addr_type: Option<AddressType>,
}
Expand description
Address of a server.
Fields
addr: IpAddr
IP (v4 of v6) address.
mac_addr: Option<String>
MAC address (if available).
addr_type: Option<AddressType>
Address type (if known).
Trait Implementations
sourceimpl Clone for ServerAddress
impl Clone for ServerAddress
sourcefn clone(&self) -> ServerAddress
fn clone(&self) -> ServerAddress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ServerAddress
impl Debug for ServerAddress
sourceimpl<'de> Deserialize<'de> for ServerAddress
impl<'de> Deserialize<'de> for ServerAddress
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for ServerAddress
impl Send for ServerAddress
impl Sync for ServerAddress
impl Unpin for ServerAddress
impl UnwindSafe for ServerAddress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more