pub struct CitationEnvelope {
pub document_fingerprint: Option<String>,
pub claims: Vec<Claim>,
}Expand description
Envelope form of citation input.
Fields§
§document_fingerprint: Option<String>Fingerprint the citations were produced against.
claims: Vec<Claim>Claims to verify, in deterministic input order.
Trait Implementations§
Source§impl Clone for CitationEnvelope
impl Clone for CitationEnvelope
Source§fn clone(&self) -> CitationEnvelope
fn clone(&self) -> CitationEnvelope
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 CitationEnvelope
impl Debug for CitationEnvelope
Source§impl<'de> Deserialize<'de> for CitationEnvelope
impl<'de> Deserialize<'de> for CitationEnvelope
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 CitationEnvelope
Source§impl PartialEq for CitationEnvelope
impl PartialEq for CitationEnvelope
Source§fn eq(&self, other: &CitationEnvelope) -> bool
fn eq(&self, other: &CitationEnvelope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CitationEnvelope
impl Serialize for CitationEnvelope
impl StructuralPartialEq for CitationEnvelope
Auto Trait Implementations§
impl Freeze for CitationEnvelope
impl RefUnwindSafe for CitationEnvelope
impl Send for CitationEnvelope
impl Sync for CitationEnvelope
impl Unpin for CitationEnvelope
impl UnsafeUnpin for CitationEnvelope
impl UnwindSafe for CitationEnvelope
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