pub struct EndpointSettings {Show 14 fields
pub aliases: Option<Vec<String>>,
pub dns_names: Option<Vec<String>>,
pub driver_opts: Option<HashMap<String, String>>,
pub endpoint_id: Option<String>,
pub gateway: Option<String>,
pub global_ipv6_address: Option<String>,
pub global_ipv6_prefix_len: Option<i64>,
pub ipam_config: Option<Box<EndpointIpamConfig>>,
pub ip_address: Option<String>,
pub ip_prefix_len: Option<i64>,
pub ipv6_gateway: Option<String>,
pub links: Option<Vec<String>>,
pub mac_address: Option<String>,
pub network_id: Option<String>,
}
Expand description
EndpointSettings : EndpointSettings stores the network endpoint details
Fields§
§aliases: Option<Vec<String>>
§dns_names: Option<Vec<String>>
DNSNames holds all the (non fully qualified) DNS names associated to this endpoint. First entry is used to generate PTR records.
driver_opts: Option<HashMap<String, String>>
§endpoint_id: Option<String>
§gateway: Option<String>
§global_ipv6_address: Option<String>
§global_ipv6_prefix_len: Option<i64>
§ipam_config: Option<Box<EndpointIpamConfig>>
§ip_address: Option<String>
§ip_prefix_len: Option<i64>
§ipv6_gateway: Option<String>
§links: Option<Vec<String>>
§mac_address: Option<String>
MacAddress may be used to specify a MAC address when the container is created. Once the container is running, it becomes operational data (it may contain a generated address).
network_id: Option<String>
Operational data
Implementations§
Source§impl EndpointSettings
impl EndpointSettings
Sourcepub fn new() -> EndpointSettings
pub fn new() -> EndpointSettings
EndpointSettings stores the network endpoint details
Trait Implementations§
Source§impl Clone for EndpointSettings
impl Clone for EndpointSettings
Source§fn clone(&self) -> EndpointSettings
fn clone(&self) -> EndpointSettings
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 EndpointSettings
impl Debug for EndpointSettings
Source§impl Default for EndpointSettings
impl Default for EndpointSettings
Source§fn default() -> EndpointSettings
fn default() -> EndpointSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EndpointSettings
impl<'de> Deserialize<'de> for EndpointSettings
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 PartialEq for EndpointSettings
impl PartialEq for EndpointSettings
Source§impl Serialize for EndpointSettings
impl Serialize for EndpointSettings
impl StructuralPartialEq for EndpointSettings
Auto Trait Implementations§
impl Freeze for EndpointSettings
impl RefUnwindSafe for EndpointSettings
impl Send for EndpointSettings
impl Sync for EndpointSettings
impl Unpin for EndpointSettings
impl UnwindSafe for EndpointSettings
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