pub struct ImagePackagesManifest { /* private fields */ }
Expand description
A manifest describing the various images and firmware packages that should be fetched and written during a system update, as well as metadata about those images and where to find them.
Implementations§
Source§impl ImagePackagesManifest
impl ImagePackagesManifest
Sourcepub fn builder() -> ImagePackagesManifestBuilder
pub fn builder() -> ImagePackagesManifestBuilder
Returns a ImagePackagesManifestBuilder
with no configured images.
Sourcepub fn fuchsia(&self) -> Option<ZbiAndOptionalVbmetaMetadata>
pub fn fuchsia(&self) -> Option<ZbiAndOptionalVbmetaMetadata>
Returns metadata for the fuchsia boot slot, if present.
Sourcepub fn recovery(&self) -> Option<ZbiAndOptionalVbmetaMetadata>
pub fn recovery(&self) -> Option<ZbiAndOptionalVbmetaMetadata>
Returns metadata for the recovery boot slot, if present.
Sourcepub fn firmware(&self) -> BTreeMap<String, ImageMetadata>
pub fn firmware(&self) -> BTreeMap<String, ImageMetadata>
Returns metadata for the firmware images.
Trait Implementations§
Source§impl Clone for ImagePackagesManifest
impl Clone for ImagePackagesManifest
Source§fn clone(&self) -> ImagePackagesManifest
fn clone(&self) -> ImagePackagesManifest
Returns a copy 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 ImagePackagesManifest
impl Debug for ImagePackagesManifest
Source§impl<'de> Deserialize<'de> for ImagePackagesManifest
impl<'de> Deserialize<'de> for ImagePackagesManifest
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
Source§impl From<ImagePackagesManifest> for ImagesMetadata
impl From<ImagePackagesManifest> for ImagesMetadata
Source§fn from(manifest: ImagePackagesManifest) -> Self
fn from(manifest: ImagePackagesManifest) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ImagePackagesManifest
impl PartialEq for ImagePackagesManifest
Source§impl Serialize for ImagePackagesManifest
impl Serialize for ImagePackagesManifest
impl Eq for ImagePackagesManifest
impl StructuralPartialEq for ImagePackagesManifest
Auto Trait Implementations§
impl Freeze for ImagePackagesManifest
impl RefUnwindSafe for ImagePackagesManifest
impl Send for ImagePackagesManifest
impl Sync for ImagePackagesManifest
impl Unpin for ImagePackagesManifest
impl UnwindSafe for ImagePackagesManifest
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)