pub struct EvidenceCapsule {
pub capsule_id: String,
pub outcome: String,
pub reason_code: String,
pub witness_receipt: String,
pub nonce: u64,
pub magpie_source: Option<String>,
pub gate_sensors: Value,
pub reproducibility_context: Value,
pub vep_blob: Option<Vec<u8>>,
}Expand description
CHORA Evidence Capsule (RFC 8785 Compliant Metadata)
Fields§
§capsule_id: String§outcome: String§reason_code: String§witness_receipt: String§nonce: u64§magpie_source: Option<String>Bundled Magpie AST for independent verification
gate_sensors: Value§reproducibility_context: Value§vep_blob: Option<Vec<u8>>Optional full VEP binary blob
Trait Implementations§
Source§impl Clone for EvidenceCapsule
impl Clone for EvidenceCapsule
Source§fn clone(&self) -> EvidenceCapsule
fn clone(&self) -> EvidenceCapsule
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 EvidenceCapsule
impl Debug for EvidenceCapsule
Source§impl<'de> Deserialize<'de> for EvidenceCapsule
impl<'de> Deserialize<'de> for EvidenceCapsule
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 EvidenceCapsule
impl PartialEq for EvidenceCapsule
Source§impl Serialize for EvidenceCapsule
impl Serialize for EvidenceCapsule
impl Eq for EvidenceCapsule
impl StructuralPartialEq for EvidenceCapsule
Auto Trait Implementations§
impl Freeze for EvidenceCapsule
impl RefUnwindSafe for EvidenceCapsule
impl Send for EvidenceCapsule
impl Sync for EvidenceCapsule
impl Unpin for EvidenceCapsule
impl UnsafeUnpin for EvidenceCapsule
impl UnwindSafe for EvidenceCapsule
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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