pub struct NetworkConnect {
pub container: Option<String>,
pub endpoint_config: Option<Box<EndpointSettings>>,
}
Expand description
NetworkConnect : NetworkConnect represents the data to be used to connect a container to the network
Fields§
§container: Option<String>
§endpoint_config: Option<Box<EndpointSettings>>
Implementations§
Source§impl NetworkConnect
impl NetworkConnect
Sourcepub fn new() -> NetworkConnect
pub fn new() -> NetworkConnect
NetworkConnect represents the data to be used to connect a container to the network
Trait Implementations§
Source§impl Clone for NetworkConnect
impl Clone for NetworkConnect
Source§fn clone(&self) -> NetworkConnect
fn clone(&self) -> NetworkConnect
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 NetworkConnect
impl Debug for NetworkConnect
Source§impl Default for NetworkConnect
impl Default for NetworkConnect
Source§fn default() -> NetworkConnect
fn default() -> NetworkConnect
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkConnect
impl<'de> Deserialize<'de> for NetworkConnect
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 NetworkConnect
impl PartialEq for NetworkConnect
Source§impl Serialize for NetworkConnect
impl Serialize for NetworkConnect
impl StructuralPartialEq for NetworkConnect
Auto Trait Implementations§
impl Freeze for NetworkConnect
impl RefUnwindSafe for NetworkConnect
impl Send for NetworkConnect
impl Sync for NetworkConnect
impl Unpin for NetworkConnect
impl UnwindSafe for NetworkConnect
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