pub enum VolumeSyntax {
Short,
Long,
}Expand description
The authored Compose syntax form of a service-volume mount.
Variants§
Short
A colon-delimited scalar such as ./data:/var/lib/data:Z.
Long
A mapping with fields such as type, source, and target.
Trait Implementations§
Source§impl Clone for VolumeSyntax
impl Clone for VolumeSyntax
Source§fn clone(&self) -> VolumeSyntax
fn clone(&self) -> VolumeSyntax
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 moreimpl Copy for VolumeSyntax
Source§impl Debug for VolumeSyntax
impl Debug for VolumeSyntax
impl Eq for VolumeSyntax
Source§impl Hash for VolumeSyntax
impl Hash for VolumeSyntax
Source§impl PartialEq for VolumeSyntax
impl PartialEq for VolumeSyntax
impl StructuralPartialEq for VolumeSyntax
Auto Trait Implementations§
impl Freeze for VolumeSyntax
impl RefUnwindSafe for VolumeSyntax
impl Send for VolumeSyntax
impl Sync for VolumeSyntax
impl Unpin for VolumeSyntax
impl UnsafeUnpin for VolumeSyntax
impl UnwindSafe for VolumeSyntax
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