pub struct DensorEntry {
pub id: String,
pub kind: DensorKind,
pub evidence_hash: [u8; 32],
}Expand description
One declared densor in the manifest.
Fields§
§id: String§kind: DensorKind§evidence_hash: [u8; 32]The expected 32-byte evidence hash of this densor (checked against the produced object on execution).
Trait Implementations§
Source§impl Clone for DensorEntry
impl Clone for DensorEntry
Source§fn clone(&self) -> DensorEntry
fn clone(&self) -> DensorEntry
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 DensorEntry
impl Debug for DensorEntry
Source§impl<'de> Deserialize<'de> for DensorEntry
impl<'de> Deserialize<'de> for DensorEntry
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 DensorEntry
impl PartialEq for DensorEntry
Source§fn eq(&self, other: &DensorEntry) -> bool
fn eq(&self, other: &DensorEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DensorEntry
impl Serialize for DensorEntry
impl Eq for DensorEntry
impl StructuralPartialEq for DensorEntry
Auto Trait Implementations§
impl Freeze for DensorEntry
impl RefUnwindSafe for DensorEntry
impl Send for DensorEntry
impl Sync for DensorEntry
impl Unpin for DensorEntry
impl UnsafeUnpin for DensorEntry
impl UnwindSafe for DensorEntry
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