pub struct VolumeMountOptions { /* private fields */ }Expand description
Volume-specific options in a long-syntax service-volume mount.
Implementations§
Source§impl VolumeMountOptions
impl VolumeMountOptions
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete volume mapping span.
Sourcepub const fn nocopy(&self) -> Option<&Located<BooleanValue>>
pub const fn nocopy(&self) -> Option<&Located<BooleanValue>>
Returns the explicit copy-prevention setting without inferring a runtime default.
Sourcepub const fn subpath(&self) -> Option<&Located<String>>
pub const fn subpath(&self) -> Option<&Located<String>>
Returns the authored named-volume subpath without resolving a volume or filesystem.
Sourcepub const fn labels(&self) -> Option<&Labels>
pub const fn labels(&self) -> Option<&Labels>
Returns named-volume labels in their authored list or mapping form.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained x- volume-option fields.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns unrecognized or malformed volume-option fields retained from source.
Trait Implementations§
Source§impl Clone for VolumeMountOptions
impl Clone for VolumeMountOptions
Source§fn clone(&self) -> VolumeMountOptions
fn clone(&self) -> VolumeMountOptions
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 VolumeMountOptions
impl Debug for VolumeMountOptions
impl Eq for VolumeMountOptions
Source§impl PartialEq for VolumeMountOptions
impl PartialEq for VolumeMountOptions
impl StructuralPartialEq for VolumeMountOptions
Auto Trait Implementations§
impl Freeze for VolumeMountOptions
impl RefUnwindSafe for VolumeMountOptions
impl Send for VolumeMountOptions
impl Sync for VolumeMountOptions
impl Unpin for VolumeMountOptions
impl UnsafeUnpin for VolumeMountOptions
impl UnwindSafe for VolumeMountOptions
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