pub struct ScopePlatform {
pub network_driver: &'static str,
pub volume_path: Option<&'static str>,
}Expand description
What a case scope looks like on one container OS.
Fields§
§network_driver: &'static strDocker network driver of the case network.
volume_path: Option<&'static str>Where every container of the case mounts the case volume, or None for a scope with no volume.
Trait Implementations§
Source§impl Clone for ScopePlatform
impl Clone for ScopePlatform
Source§fn clone(&self) -> ScopePlatform
fn clone(&self) -> ScopePlatform
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 ScopePlatform
impl Debug for ScopePlatform
Source§impl PartialEq for ScopePlatform
impl PartialEq for ScopePlatform
impl Copy for ScopePlatform
impl Eq for ScopePlatform
impl StructuralPartialEq for ScopePlatform
Auto Trait Implementations§
impl Freeze for ScopePlatform
impl RefUnwindSafe for ScopePlatform
impl Send for ScopePlatform
impl Sync for ScopePlatform
impl Unpin for ScopePlatform
impl UnsafeUnpin for ScopePlatform
impl UnwindSafe for ScopePlatform
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.