pub struct CmcCertification {
pub certificate_verified: bool,
pub certificate_hex: String,
pub certificate_bytes: usize,
pub hash_tree_hex: String,
pub hash_tree_bytes: usize,
}Expand description
CmcCertification
Authenticated application-level certificate and hash-tree evidence for a CMC rate.
Fields§
§certificate_verified: boolWhether the built-in source authenticated the certificate and rate witness.
certificate_hex: StringCBOR system certificate encoded as lowercase hexadecimal.
certificate_bytes: usizeRaw certificate length in bytes.
hash_tree_hex: StringCBOR witness hash tree encoded as lowercase hexadecimal.
hash_tree_bytes: usizeRaw witness hash-tree length in bytes.
Trait Implementations§
Source§impl Clone for CmcCertification
impl Clone for CmcCertification
Source§fn clone(&self) -> CmcCertification
fn clone(&self) -> CmcCertification
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 CmcCertification
impl Debug for CmcCertification
Source§impl<'de> Deserialize<'de> for CmcCertification
impl<'de> Deserialize<'de> for CmcCertification
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 CmcCertification
Source§impl PartialEq for CmcCertification
impl PartialEq for CmcCertification
Source§impl Serialize for CmcCertification
impl Serialize for CmcCertification
impl StructuralPartialEq for CmcCertification
Auto Trait Implementations§
impl Freeze for CmcCertification
impl RefUnwindSafe for CmcCertification
impl Send for CmcCertification
impl Sync for CmcCertification
impl Unpin for CmcCertification
impl UnsafeUnpin for CmcCertification
impl UnwindSafe for CmcCertification
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