pub enum ImageSpecification {
ResumeJob {
job_id: Uuid,
},
Image {
image_id: ImageId,
},
}Variants§
ResumeJob
Whether to resume a previously started job.
Image
Which image to base this job off. If the image is not locally cached at the supervisor, it will be fetched using its manifest prior to executing the job.
Images are content-addressed by the SHA-256 digest of their manifest.
Note that if a job is being restarted, it will use this variant.
Trait Implementations§
Source§impl Clone for ImageSpecification
impl Clone for ImageSpecification
Source§fn clone(&self) -> ImageSpecification
fn clone(&self) -> ImageSpecification
Returns a duplicate of the value. Read more
1.0.0 · 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 ImageSpecification
impl Debug for ImageSpecification
Source§impl<'de> Deserialize<'de> for ImageSpecification
impl<'de> Deserialize<'de> for ImageSpecification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ImageSpecification
impl RefUnwindSafe for ImageSpecification
impl Send for ImageSpecification
impl Sync for ImageSpecification
impl Unpin for ImageSpecification
impl UnwindSafe for ImageSpecification
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