#[non_exhaustive]pub enum VolumeImageSource {
Literal(ProtectedString),
ImageAcquisition(Identifier),
ImageBuild(Identifier),
}Expand description
The explicit source of an image-backed volume.
Literal images and named image artifacts remain distinct. The literal form is protected so a private registry location cannot leak through model debug output.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Literal(ProtectedString)
One protected literal image spelling.
ImageAcquisition(Identifier)
One named image-acquisition resource.
ImageBuild(Identifier)
One named image-build resource.
Trait Implementations§
Source§impl Clone for VolumeImageSource
impl Clone for VolumeImageSource
Source§fn clone(&self) -> VolumeImageSource
fn clone(&self) -> VolumeImageSource
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 VolumeImageSource
impl Debug for VolumeImageSource
impl Eq for VolumeImageSource
Source§impl PartialEq for VolumeImageSource
impl PartialEq for VolumeImageSource
impl StructuralPartialEq for VolumeImageSource
Auto Trait Implementations§
impl Freeze for VolumeImageSource
impl RefUnwindSafe for VolumeImageSource
impl Send for VolumeImageSource
impl Sync for VolumeImageSource
impl Unpin for VolumeImageSource
impl UnsafeUnpin for VolumeImageSource
impl UnwindSafe for VolumeImageSource
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