Struct bollard::network::ConnectNetworkOptions
source · pub struct ConnectNetworkOptions<T>{
pub container: T,
pub endpoint_config: EndpointSettings,
}
Expand description
Network configuration used in the Connect Network API
Fields§
§container: T
The ID or name of the container to connect to the network.
endpoint_config: EndpointSettings
Configuration for a network endpoint.
Trait Implementations§
source§impl<T> Clone for ConnectNetworkOptions<T>
impl<T> Clone for ConnectNetworkOptions<T>
source§fn clone(&self) -> ConnectNetworkOptions<T>
fn clone(&self) -> ConnectNetworkOptions<T>
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<T> Debug for ConnectNetworkOptions<T>
impl<T> Debug for ConnectNetworkOptions<T>
source§impl<T> Default for ConnectNetworkOptions<T>
impl<T> Default for ConnectNetworkOptions<T>
source§fn default() -> ConnectNetworkOptions<T>
fn default() -> ConnectNetworkOptions<T>
Returns the “default value” for a type. Read more
source§impl<T> PartialEq for ConnectNetworkOptions<T>
impl<T> PartialEq for ConnectNetworkOptions<T>
source§impl<T> Serialize for ConnectNetworkOptions<T>
impl<T> Serialize for ConnectNetworkOptions<T>
impl<T> StructuralPartialEq for ConnectNetworkOptions<T>
Auto Trait Implementations§
impl<T> Freeze for ConnectNetworkOptions<T>where
T: Freeze,
impl<T> RefUnwindSafe for ConnectNetworkOptions<T>where
T: RefUnwindSafe,
impl<T> Send for ConnectNetworkOptions<T>where
T: Send,
impl<T> Sync for ConnectNetworkOptions<T>where
T: Sync,
impl<T> Unpin for ConnectNetworkOptions<T>where
T: Unpin,
impl<T> UnwindSafe for ConnectNetworkOptions<T>where
T: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)