pub struct ReceiptItemV1 {
pub receipt_id: String,
pub kind: String,
pub vault_id: String,
pub created_at: UtcTimestamp,
pub digest: Sha256Digest,
pub document: Value,
}Expand description
One receipt. document is the receipt as persisted locally.
Fields§
§receipt_id: String§kind: Stringengine or agent_connector.
vault_id: String§created_at: UtcTimestamp§digest: Sha256Digestreceipt_digest of document.
document: ValueTrait Implementations§
Source§impl Clone for ReceiptItemV1
impl Clone for ReceiptItemV1
Source§impl Debug for ReceiptItemV1
impl Debug for ReceiptItemV1
Source§impl<'de> Deserialize<'de> for ReceiptItemV1
impl<'de> Deserialize<'de> for ReceiptItemV1
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 ReceiptItemV1
impl PartialEq for ReceiptItemV1
Source§impl Serialize for ReceiptItemV1
impl Serialize for ReceiptItemV1
impl StructuralPartialEq for ReceiptItemV1
Auto Trait Implementations§
impl Forget for ReceiptItemV1
impl Freeze for ReceiptItemV1where
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for ReceiptItemV1
impl RefUnwindSafe for ReceiptItemV1
impl Send for ReceiptItemV1
impl Sync for ReceiptItemV1
impl Unpin for ReceiptItemV1
impl UnsafeUnpin for ReceiptItemV1where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for ReceiptItemV1
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