pub struct Request {
pub payment_reference: Reference,
pub amount: Money,
pub reason: Reason,
pub idempotency_key: IdempotencyKey,
}Expand description
Input rules for building the workflow packet from source-grounded records.
Fields§
§payment_reference: ReferencePayment reference copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
amount: MoneyAmount copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
reason: ReasonReason copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
idempotency_key: IdempotencyKeyIdempotency key copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
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 Request
impl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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