pub enum ImageIms {
NameIsRecipe {
name: String,
is_recipe: bool,
},
IdIsRecipe {
id: String,
is_recipe: bool,
},
}Expand description
Legacy IMS image reference with a recipe flag (older SAT format).
Variants§
NameIsRecipe
Image identified by name; is_recipe indicates whether it is an IMS recipe.
Fields
IdIsRecipe
Image identified by UUID; is_recipe indicates whether it is an IMS recipe.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ImageIms
impl<'de> Deserialize<'de> for ImageIms
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 ImageIms
impl RefUnwindSafe for ImageIms
impl Send for ImageIms
impl Sync for ImageIms
impl Unpin for ImageIms
impl UnsafeUnpin for ImageIms
impl UnwindSafe for ImageIms
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