pub struct OtaManifest {
pub build_info_version: SystemVersion,
pub board: String,
pub epoch: u64,
pub mode: UpdateMode,
pub blob_base_url: String,
pub images: Vec<Image>,
pub blobs: Vec<Blob>,
}Expand description
Information about a particular version of the OS.
Fields§
§build_info_version: SystemVersionThe version from the build-info of the target build. This field is for
informational purposes only and does not change the updater’s behavior.
board: StringThe board this OTA is for (e.g., “x64”, “arm64”). The system updater will
reject the OTA if this does not match the device’s expected board name
from build-info.
epoch: u64The epoch of this OTA. See RFC-0071 for details.
mode: UpdateModeThe update mode, indicating if this is a normal update or a forced recovery.
blob_base_url: StringThe base URL prefix of the blobs, including the delivery blob type. The final URL for each blob will be “{blob_base_url}/{fuchsia_merkle_root}”. Relative URLs are supported, and will be resolved relative to the URL of the OTA manifest.
images: Vec<Image>The partition images that should be written during the update.
blobs: Vec<Blob>Additional blobs that should be written to blob storage.
Implementations§
Trait Implementations§
Source§impl Clone for OtaManifest
impl Clone for OtaManifest
Source§fn clone(&self) -> OtaManifest
fn clone(&self) -> OtaManifest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OtaManifest
impl Debug for OtaManifest
Source§impl From<OtaManifest> for OtaManifest
impl From<OtaManifest> for OtaManifest
Source§fn from(manifest: OtaManifest) -> Self
fn from(manifest: OtaManifest) -> Self
Source§impl PartialEq for OtaManifest
impl PartialEq for OtaManifest
Source§impl TryFrom<OtaManifest> for OtaManifest
impl TryFrom<OtaManifest> for OtaManifest
impl Eq for OtaManifest
impl StructuralPartialEq for OtaManifest
Auto Trait Implementations§
impl Freeze for OtaManifest
impl RefUnwindSafe for OtaManifest
impl Send for OtaManifest
impl Sync for OtaManifest
impl Unpin for OtaManifest
impl UnwindSafe for OtaManifest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more