pub struct VerifyX402PaymentBody { /* private fields */ }
Implementations§
Source§impl VerifyX402PaymentBody
impl VerifyX402PaymentBody
pub fn payment_payload<T>(self, value: T) -> Self
pub fn payment_requirements<T>(self, value: T) -> Self
pub fn x402_version<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for VerifyX402PaymentBody
impl Clone for VerifyX402PaymentBody
Source§fn clone(&self) -> VerifyX402PaymentBody
fn clone(&self) -> VerifyX402PaymentBody
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 VerifyX402PaymentBody
impl Debug for VerifyX402PaymentBody
Source§impl Default for VerifyX402PaymentBody
impl Default for VerifyX402PaymentBody
Source§impl From<VerifyX402PaymentBody> for VerifyX402PaymentBody
impl From<VerifyX402PaymentBody> for VerifyX402PaymentBody
Source§fn from(value: VerifyX402PaymentBody) -> Self
fn from(value: VerifyX402PaymentBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<VerifyX402PaymentBody> for VerifyX402PaymentBody
impl TryFrom<VerifyX402PaymentBody> for VerifyX402PaymentBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: VerifyX402PaymentBody) -> Result<Self, ConversionError>
fn try_from(value: VerifyX402PaymentBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for VerifyX402PaymentBody
impl RefUnwindSafe for VerifyX402PaymentBody
impl Send for VerifyX402PaymentBody
impl Sync for VerifyX402PaymentBody
impl Unpin for VerifyX402PaymentBody
impl UnwindSafe for VerifyX402PaymentBody
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