pub struct EndpointSettings {Show 13 fields
    pub aliases: 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<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 stores the network endpoint details
Fields§
§aliases: Option<Vec<String>>§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<EndpointIpamConfig>§ip_address: Option<String>§ip_prefix_len: Option<i64>§ipv6_gateway: Option<String>§links: Option<Vec<String>>§mac_address: Option<String>§network_id: Option<String>Operational data
Implementations§
Source§impl EndpointSettings
 
impl EndpointSettings
pub fn new() -> EndpointSettings
Trait Implementations§
Source§impl Clone for EndpointSettings
 
impl Clone for EndpointSettings
Source§fn clone(&self) -> EndpointSettings
 
fn clone(&self) -> EndpointSettings
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 EndpointSettings
 
impl Debug for EndpointSettings
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 FromStr for EndpointSettings
Converts Query Parameters representation (style=form, explode=false) to a EndpointSettings value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
 
impl FromStr for EndpointSettings
Converts Query Parameters representation (style=form, explode=false) to a EndpointSettings value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for EndpointSettings
 
impl PartialEq for EndpointSettings
Source§impl Serialize for EndpointSettings
 
impl Serialize for EndpointSettings
Source§impl ToString for EndpointSettings
Converts the EndpointSettings value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
 
impl ToString for EndpointSettings
Converts the EndpointSettings value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for EndpointSettings
 
impl Validate for EndpointSettings
Source§impl<'v_a> ValidateArgs<'v_a> for EndpointSettings
 
impl<'v_a> ValidateArgs<'v_a> 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