pub struct OtaManifestV1 {
pub build_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_version: SystemVersionThe version of the target build. This is information only, not used to enforce anti-rollback.
board: StringThe board this OTA is for, must match build-info/board.
epoch: u64The epoch of this OTA. See RFC-0071 for details.
mode: UpdateModeThe update mode, normal or forced-recovery.
blob_base_url: StringThe base URL prefix of the blobs, the final URL for each blob will be “{blob_base_url}/{delivery_blob_type}/{fuchsia_merkle_root}”. The url can be absolute or relative to the URL of the manifest.
images: Vec<Image>The images for this version. Each image will be written to their corresponding partition.
blobs: Vec<Blob>The blobs for this version. Each blob will be written to blob storage.
Implementations§
Source§impl OtaManifestV1
impl OtaManifestV1
Sourcepub fn into_versioned(self) -> VersionedOtaManifest
pub fn into_versioned(self) -> VersionedOtaManifest
Wrap in a versioned manifest.
Trait Implementations§
Source§impl Clone for OtaManifestV1
impl Clone for OtaManifestV1
Source§fn clone(&self) -> OtaManifestV1
fn clone(&self) -> OtaManifestV1
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 OtaManifestV1
impl Debug for OtaManifestV1
Source§impl<'de> Deserialize<'de> for OtaManifestV1
impl<'de> Deserialize<'de> for OtaManifestV1
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 PartialEq for OtaManifestV1
impl PartialEq for OtaManifestV1
Source§impl Serialize for OtaManifestV1
impl Serialize for OtaManifestV1
impl Eq for OtaManifestV1
impl StructuralPartialEq for OtaManifestV1
Auto Trait Implementations§
impl Freeze for OtaManifestV1
impl RefUnwindSafe for OtaManifestV1
impl Send for OtaManifestV1
impl Sync for OtaManifestV1
impl Unpin for OtaManifestV1
impl UnwindSafe for OtaManifestV1
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§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>
Converts
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>
Converts
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