pub struct ReceiptContext {
pub session_id: Option<String>,
pub parent_receipt_id: Option<String>,
pub request_id: Option<String>,
}Expand description
Contextual information for the receipt.
Fields§
§session_id: Option<String>Session identifier.
parent_receipt_id: Option<String>Parent receipt ID (for action chains).
request_id: Option<String>Unique request identifier.
Trait Implementations§
Source§impl Clone for ReceiptContext
impl Clone for ReceiptContext
Source§fn clone(&self) -> ReceiptContext
fn clone(&self) -> ReceiptContext
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 ReceiptContext
impl Debug for ReceiptContext
Source§impl<'de> Deserialize<'de> for ReceiptContext
impl<'de> Deserialize<'de> for ReceiptContext
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 ReceiptContext
impl RefUnwindSafe for ReceiptContext
impl Send for ReceiptContext
impl Sync for ReceiptContext
impl Unpin for ReceiptContext
impl UnsafeUnpin for ReceiptContext
impl UnwindSafe for ReceiptContext
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