pub struct ReceiptLineageStatementBody {Show 13 fields
pub schema: String,
pub id: String,
pub parent_receipt_id: String,
pub child_receipt_id: String,
pub parent_request_id: RequestId,
pub child_request_id: RequestId,
pub parent_session_anchor: SessionAnchorReference,
pub child_session_anchor: SessionAnchorReference,
pub relation_kind: ReceiptLineageRelationKind,
pub evidence_class: GovernedProvenanceEvidenceClass,
pub continuation_token_id: Option<String>,
pub issued_at: u64,
pub kernel_key: PublicKey,
}Expand description
Signable receipt-lineage statement body.
Fields§
§schema: String§id: String§parent_receipt_id: String§child_receipt_id: String§parent_request_id: RequestId§child_request_id: RequestId§parent_session_anchor: SessionAnchorReference§child_session_anchor: SessionAnchorReference§relation_kind: ReceiptLineageRelationKind§evidence_class: GovernedProvenanceEvidenceClass§continuation_token_id: Option<String>§issued_at: u64§kernel_key: PublicKeyImplementations§
Source§impl ReceiptLineageStatementBody
impl ReceiptLineageStatementBody
pub fn new( id: impl Into<String>, endpoints: ReceiptLineageEndpoints, relation_kind: ReceiptLineageRelationKind, issued_at: u64, kernel_key: PublicKey, ) -> ReceiptLineageStatementBody
pub fn with_evidence_class( self, evidence_class: GovernedProvenanceEvidenceClass, ) -> ReceiptLineageStatementBody
pub fn with_continuation_token_id( self, continuation_token_id: impl Into<String>, ) -> ReceiptLineageStatementBody
Trait Implementations§
Source§impl Clone for ReceiptLineageStatementBody
impl Clone for ReceiptLineageStatementBody
Source§fn clone(&self) -> ReceiptLineageStatementBody
fn clone(&self) -> ReceiptLineageStatementBody
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 ReceiptLineageStatementBody
impl Debug for ReceiptLineageStatementBody
Source§impl<'de> Deserialize<'de> for ReceiptLineageStatementBody
impl<'de> Deserialize<'de> for ReceiptLineageStatementBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReceiptLineageStatementBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReceiptLineageStatementBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ReceiptLineageStatementBody
impl Serialize for ReceiptLineageStatementBody
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for ReceiptLineageStatementBody
impl StructuralPartialEq for ReceiptLineageStatementBody
Auto Trait Implementations§
impl Freeze for ReceiptLineageStatementBody
impl RefUnwindSafe for ReceiptLineageStatementBody
impl Send for ReceiptLineageStatementBody
impl Sync for ReceiptLineageStatementBody
impl Unpin for ReceiptLineageStatementBody
impl UnsafeUnpin for ReceiptLineageStatementBody
impl UnwindSafe for ReceiptLineageStatementBody
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