pub struct Predecessor {
pub predecessor_type: String,
pub hash: Vec<u8>,
}Expand description
The exactly-one predecessor reference. Current Profile 0.2 requires
type = "pca" and hash = SHA-256(exact signed current root.pca bytes).
Fields§
§predecessor_type: StringPredecessor reference type; current Profile 0.2 requires
crate::PREDECESSOR_TYPE_PCA.
hash: Vec<u8>SHA-256 over the exact signed bytes of the current trusted PIC PCA COSE checkpoint.
Trait Implementations§
Source§impl Clone for Predecessor
impl Clone for Predecessor
Source§fn clone(&self) -> Predecessor
fn clone(&self) -> Predecessor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Predecessor
impl Debug for Predecessor
Source§impl<'de> Deserialize<'de> for Predecessor
impl<'de> Deserialize<'de> for Predecessor
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
impl Eq for Predecessor
Source§impl PartialEq for Predecessor
impl PartialEq for Predecessor
Source§impl Serialize for Predecessor
impl Serialize for Predecessor
impl StructuralPartialEq for Predecessor
Auto Trait Implementations§
impl Freeze for Predecessor
impl RefUnwindSafe for Predecessor
impl Send for Predecessor
impl Sync for Predecessor
impl Unpin for Predecessor
impl UnsafeUnpin for Predecessor
impl UnwindSafe for Predecessor
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