pub struct ReceiptStatement {
pub type_: String,
pub timestamp: String,
pub system: String,
pub subject: Option<SubjectRef>,
pub kind: String,
pub payload: Option<Value>,
pub payload_digest: Option<String>,
pub policy_ref: Option<String>,
pub meta: Option<Value>,
}Expand description
Records that an external system observed or confirmed an event.
Used for Stripe webhooks, RFC 3161 timestamps, inclusion proofs.
Fields§
§type_: String§timestamp: String§system: StringURI of the system producing this receipt. e.g. “system://stripe-webhook”, “system://tsauthority”
subject: Option<SubjectRef>§kind: StringReceipt category: “confirmation”, “timestamp”, “inclusion”, “webhook”
payload: Option<Value>§payload_digest: Option<String>§policy_ref: Option<String>§meta: Option<Value>Implementations§
Trait Implementations§
Source§impl Clone for ReceiptStatement
impl Clone for ReceiptStatement
Source§fn clone(&self) -> ReceiptStatement
fn clone(&self) -> ReceiptStatement
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 ReceiptStatement
impl Debug for ReceiptStatement
Source§impl<'de> Deserialize<'de> for ReceiptStatement
impl<'de> Deserialize<'de> for ReceiptStatement
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
Auto Trait Implementations§
impl Freeze for ReceiptStatement
impl RefUnwindSafe for ReceiptStatement
impl Send for ReceiptStatement
impl Sync for ReceiptStatement
impl Unpin for ReceiptStatement
impl UnsafeUnpin for ReceiptStatement
impl UnwindSafe for ReceiptStatement
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