pub struct ServiceVolumeMount {
pub volume: String,
pub dest: PathBuf,
pub read_only: bool,
}Expand description
Parsed service volume reference.
Fields§
§volume: StringReferenced topology volume name.
dest: PathBufDestination path inside the container.
read_only: boolWhether the mount is read-only.
Trait Implementations§
Source§impl Clone for ServiceVolumeMount
impl Clone for ServiceVolumeMount
Source§fn clone(&self) -> ServiceVolumeMount
fn clone(&self) -> ServiceVolumeMount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceVolumeMount
impl Debug for ServiceVolumeMount
Source§impl PartialEq for ServiceVolumeMount
impl PartialEq for ServiceVolumeMount
Source§fn eq(&self, other: &ServiceVolumeMount) -> bool
fn eq(&self, other: &ServiceVolumeMount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ServiceVolumeMount
impl StructuralPartialEq for ServiceVolumeMount
Auto Trait Implementations§
impl Freeze for ServiceVolumeMount
impl RefUnwindSafe for ServiceVolumeMount
impl Send for ServiceVolumeMount
impl Sync for ServiceVolumeMount
impl Unpin for ServiceVolumeMount
impl UnsafeUnpin for ServiceVolumeMount
impl UnwindSafe for ServiceVolumeMount
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§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.