pub struct SettleX402PaymentBody {
pub payment_payload: X402PaymentPayload,
pub payment_requirements: X402PaymentRequirements,
pub x402_version: X402Version,
}
Expand description
SettleX402PaymentBody
JSON schema
{
"type": "object",
"required": [
"paymentPayload",
"paymentRequirements",
"x402Version"
],
"properties": {
"paymentPayload": {
"$ref": "#/components/schemas/x402PaymentPayload"
},
"paymentRequirements": {
"$ref": "#/components/schemas/x402PaymentRequirements"
},
"x402Version": {
"$ref": "#/components/schemas/X402Version"
}
}
}
Fields§
§payment_payload: X402PaymentPayload
§payment_requirements: X402PaymentRequirements
§x402_version: X402Version
Implementations§
Source§impl SettleX402PaymentBody
impl SettleX402PaymentBody
pub fn builder() -> SettleX402PaymentBody
Trait Implementations§
Source§impl Clone for SettleX402PaymentBody
impl Clone for SettleX402PaymentBody
Source§fn clone(&self) -> SettleX402PaymentBody
fn clone(&self) -> SettleX402PaymentBody
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 SettleX402PaymentBody
impl Debug for SettleX402PaymentBody
Source§impl<'de> Deserialize<'de> for SettleX402PaymentBody
impl<'de> Deserialize<'de> for SettleX402PaymentBody
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 From<&SettleX402PaymentBody> for SettleX402PaymentBody
impl From<&SettleX402PaymentBody> for SettleX402PaymentBody
Source§fn from(value: &SettleX402PaymentBody) -> Self
fn from(value: &SettleX402PaymentBody) -> Self
Converts to this type from the input type.
Source§impl From<SettleX402PaymentBody> for SettleX402PaymentBody
impl From<SettleX402PaymentBody> for SettleX402PaymentBody
Source§fn from(value: SettleX402PaymentBody) -> Self
fn from(value: SettleX402PaymentBody) -> Self
Converts to this type from the input type.
Source§impl Serialize for SettleX402PaymentBody
impl Serialize for SettleX402PaymentBody
Source§impl TryFrom<SettleX402PaymentBody> for SettleX402PaymentBody
impl TryFrom<SettleX402PaymentBody> for SettleX402PaymentBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SettleX402PaymentBody) -> Result<Self, ConversionError>
fn try_from(value: SettleX402PaymentBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SettleX402PaymentBody
impl RefUnwindSafe for SettleX402PaymentBody
impl Send for SettleX402PaymentBody
impl Sync for SettleX402PaymentBody
impl Unpin for SettleX402PaymentBody
impl UnwindSafe for SettleX402PaymentBody
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