pub struct ImageMountOptions { /* private fields */ }Expand description
Image-specific options in a long-syntax service-volume mount.
Implementations§
Source§impl ImageMountOptions
impl ImageMountOptions
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the complete image mapping span.
Sourcepub const fn subpath(&self) -> Option<&Located<String>>
pub const fn subpath(&self) -> Option<&Located<String>>
Returns the authored image subpath without resolving an image or filesystem.
Sourcepub fn extension_fields(&self) -> &[FieldReference]
pub fn extension_fields(&self) -> &[FieldReference]
Returns retained x- image fields.
Sourcepub fn unknown_fields(&self) -> &[FieldReference]
pub fn unknown_fields(&self) -> &[FieldReference]
Returns unrecognized or malformed image fields retained from source.
Trait Implementations§
Source§impl Clone for ImageMountOptions
impl Clone for ImageMountOptions
Source§fn clone(&self) -> ImageMountOptions
fn clone(&self) -> ImageMountOptions
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 ImageMountOptions
impl Debug for ImageMountOptions
impl Eq for ImageMountOptions
Source§impl PartialEq for ImageMountOptions
impl PartialEq for ImageMountOptions
impl StructuralPartialEq for ImageMountOptions
Auto Trait Implementations§
impl Freeze for ImageMountOptions
impl RefUnwindSafe for ImageMountOptions
impl Send for ImageMountOptions
impl Sync for ImageMountOptions
impl Unpin for ImageMountOptions
impl UnsafeUnpin for ImageMountOptions
impl UnwindSafe for ImageMountOptions
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