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