pub struct PaymentSession { /* private fields */ }Implementations§
Source§impl PaymentSession
impl PaymentSession
pub fn amount<T>(self, value: T) -> Self
pub fn asset<T>(self, value: T) -> Self
pub fn auto_capture<T>(self, value: T) -> Self
pub fn balances<T>(self, value: T) -> Self
pub fn cancellation_reason<T>(self, value: T) -> Self
pub fn captures<T>(self, value: T) -> Self
pub fn created_at<T>(self, value: T) -> Self
pub fn customer_display<T>(self, value: T) -> Self
pub fn entity_id<T>(self, value: T) -> Self
pub fn expiries<T>(self, value: T) -> Self
pub fn external_reference_id<T>(self, value: T) -> Self
pub fn metadata<T>(self, value: T) -> Self
pub fn payment_session_id<T>(self, value: T) -> Self
pub fn redirect<T>(self, value: T) -> Self
pub fn refunds<T>(self, value: T) -> Self
pub fn source<T>(self, value: T) -> Self
pub fn status<T>(self, value: T) -> Self
pub fn target<T>(self, value: T) -> Self
pub fn updated_at<T>(self, value: T) -> Self
pub fn url<T>(self, value: T) -> Self
pub fn voids<T>(self, value: T) -> Self
pub fn x402_url<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for PaymentSession
impl Clone for PaymentSession
Source§impl Debug for PaymentSession
impl Debug for PaymentSession
Source§impl Default for PaymentSession
impl Default for PaymentSession
Source§impl From<PaymentSession> for PaymentSession
impl From<PaymentSession> for PaymentSession
Source§fn from(value: PaymentSession) -> Self
fn from(value: PaymentSession) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PaymentSession> for PaymentSession
impl TryFrom<PaymentSession> for PaymentSession
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PaymentSession) -> Result<Self, ConversionError>
fn try_from(value: PaymentSession) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PaymentSession
impl RefUnwindSafe for PaymentSession
impl Send for PaymentSession
impl Sync for PaymentSession
impl Unpin for PaymentSession
impl UnsafeUnpin for PaymentSession
impl UnwindSafe for PaymentSession
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