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