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