pub struct NetworkEntry {
pub network_id: String,
pub endpoint_id: String,
pub gateway: String,
pub ip_address: String,
pub ip_prefix_len: u64,
pub ipv6_gateway: String,
pub global_ipv6_address: String,
pub global_ipv6_prefix_len: u64,
pub mac_address: String,
pub links: Option<Vec<String>>,
pub aliases: Option<Vec<String>>,
pub ipam_config: Option<EndpointIPAMConfig>,
}
Fields§
§network_id: String
§endpoint_id: String
§gateway: String
§ip_address: String
§ip_prefix_len: u64
§ipv6_gateway: String
§global_ipv6_address: String
§global_ipv6_prefix_len: u64
§mac_address: String
§links: Option<Vec<String>>
§aliases: Option<Vec<String>>
§ipam_config: Option<EndpointIPAMConfig>
Trait Implementations§
Source§impl Clone for NetworkEntry
impl Clone for NetworkEntry
Source§fn clone(&self) -> NetworkEntry
fn clone(&self) -> NetworkEntry
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 NetworkEntry
impl Debug for NetworkEntry
Source§impl<'de> Deserialize<'de> for NetworkEntry
impl<'de> Deserialize<'de> for NetworkEntry
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
Auto Trait Implementations§
impl Freeze for NetworkEntry
impl RefUnwindSafe for NetworkEntry
impl Send for NetworkEntry
impl Sync for NetworkEntry
impl Unpin for NetworkEntry
impl UnwindSafe for NetworkEntry
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