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