pub struct LongVolumeMount { /* private fields */ }Expand description
A long-syntax service-volume mount.
Implementations§
Source§impl LongVolumeMount
impl LongVolumeMount
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete mapping span.
Sourcepub const fn mount_type(&self) -> Option<&Located<MountType>>
pub const fn mount_type(&self) -> Option<&Located<MountType>>
Returns the explicitly authored mount type.
Sourcepub const fn target_path(&self) -> Option<&Located<ContainerPath>>
pub const fn target_path(&self) -> Option<&Located<ContainerPath>>
Returns the target classified using container-platform lexical rules.
Sourcepub const fn read_only(&self) -> Option<&Located<BooleanValue>>
pub const fn read_only(&self) -> Option<&Located<BooleanValue>>
Returns the explicitly authored read-only setting.
Sourcepub const fn bind(&self) -> Option<&BindOptions>
pub const fn bind(&self) -> Option<&BindOptions>
Returns long-syntax bind options.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns x- extension fields retained from the mount mapping.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns recognized-by-Compose but not-yet-typed and unrecognized fields.
Trait Implementations§
Source§impl Clone for LongVolumeMount
impl Clone for LongVolumeMount
Source§fn clone(&self) -> LongVolumeMount
fn clone(&self) -> LongVolumeMount
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 LongVolumeMount
impl Debug for LongVolumeMount
impl Eq for LongVolumeMount
Source§impl PartialEq for LongVolumeMount
impl PartialEq for LongVolumeMount
impl StructuralPartialEq for LongVolumeMount
Auto Trait Implementations§
impl Freeze for LongVolumeMount
impl RefUnwindSafe for LongVolumeMount
impl Send for LongVolumeMount
impl Sync for LongVolumeMount
impl Unpin for LongVolumeMount
impl UnsafeUnpin for LongVolumeMount
impl UnwindSafe for LongVolumeMount
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