pub struct VerifiedUpdate {
pub manifest: UpdateManifest,
pub manifest_hash: Hash32,
pub freshness: Option<Freshness>,
}Expand description
A manifest that passed the acceptance rule.
Fields§
§manifest: UpdateManifestThe manifest.
manifest_hash: Hash32Its payload hash.
freshness: Option<Freshness>The freshness record that vouched for it, if the root trusts timestamp keys.
Implementations§
Source§impl VerifiedUpdate
impl VerifiedUpdate
Sourcepub fn applies(&self, device: &Device) -> Applicability
pub fn applies(&self, device: &Device) -> Applicability
Evaluates targeting and rollout on the device.
Trait Implementations§
Source§impl Clone for VerifiedUpdate
impl Clone for VerifiedUpdate
Source§impl Debug for VerifiedUpdate
impl Debug for VerifiedUpdate
impl Eq for VerifiedUpdate
Source§impl PartialEq for VerifiedUpdate
impl PartialEq for VerifiedUpdate
impl StructuralPartialEq for VerifiedUpdate
Auto Trait Implementations§
impl Forget for VerifiedUpdate
impl Freeze for VerifiedUpdate
impl Move for VerifiedUpdate
impl RefUnwindSafe for VerifiedUpdate
impl Send for VerifiedUpdate
impl Sync for VerifiedUpdate
impl Unpin for VerifiedUpdate
impl UnsafeUnpin for VerifiedUpdate
impl UnwindSafe for VerifiedUpdate
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