Struct ImageInfo
#[non_exhaustive]pub struct ImageInfo {
pub slot_class: Option<String>,
pub artifact: Option<String>,
pub variant: Option<String>,
pub filename: Option<String>,
pub image_type: Option<String>,
pub checksum: Option<String>,
pub size: Option<u64>,
pub hooks: Option<Vec<ImageHook>>,
pub adaptive: Option<Vec<AdaptiveMethod>>,
pub convert: Option<Vec<String>>,
pub converted: Option<Vec<String>>,
}Expand description
An image entry of a manifest.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.slot_class: Option<String>The slot class that the image is for.
artifact: Option<String>The artifact name, if the image is for an artifact.
Added in RAUC 1.13.
variant: Option<String>The variant name, if used.
filename: Option<String>The file name of the image.
image_type: Option<String>The image type, for example raw or tar.
Added in RAUC 1.15.
checksum: Option<String>The SHA-256 hash of the original image.
size: Option<u64>The size of the original image in bytes.
hooks: Option<Vec<ImageHook>>The enabled hooks.
adaptive: Option<Vec<AdaptiveMethod>>The enabled adaptive update methods.
Added in RAUC 1.10.
convert: Option<Vec<String>>The conversions that the bundle build applies.
Added in RAUC 1.13.
converted: Option<Vec<String>>The conversions that the bundle build applied.
Added in RAUC 1.13.
Trait Implementations§
§impl<'de> Deserialize<'de> for ImageInfo
impl<'de> Deserialize<'de> for ImageInfo
§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
impl Eq for ImageInfo
impl StructuralPartialEq for ImageInfo
Auto Trait Implementations§
impl Freeze for ImageInfo
impl RefUnwindSafe for ImageInfo
impl Send for ImageInfo
impl Sync for ImageInfo
impl Unpin for ImageInfo
impl UnsafeUnpin for ImageInfo
impl UnwindSafe for ImageInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.