pub enum PaymentIntent {
Immediate,
Deferred,
OnDelivery,
Escrow,
Subscription,
}Expand description
Payment intent for settlement
Variants§
Immediate
Immediate payment required
Deferred
Payment can be deferred
OnDelivery
Payment on delivery/completion
Escrow
Escrow-based payment
Subscription
Subscription-based payment
Trait Implementations§
Source§impl Clone for PaymentIntent
impl Clone for PaymentIntent
Source§fn clone(&self) -> PaymentIntent
fn clone(&self) -> PaymentIntent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PaymentIntent
Source§impl Debug for PaymentIntent
impl Debug for PaymentIntent
Source§impl<'de> Deserialize<'de> for PaymentIntent
impl<'de> Deserialize<'de> for PaymentIntent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PaymentIntent
Source§impl PartialEq for PaymentIntent
impl PartialEq for PaymentIntent
Source§fn eq(&self, other: &PaymentIntent) -> bool
fn eq(&self, other: &PaymentIntent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PaymentIntent
impl Serialize for PaymentIntent
impl StructuralPartialEq for PaymentIntent
Auto Trait Implementations§
impl Freeze for PaymentIntent
impl RefUnwindSafe for PaymentIntent
impl Send for PaymentIntent
impl Sync for PaymentIntent
impl Unpin for PaymentIntent
impl UnsafeUnpin for PaymentIntent
impl UnwindSafe for PaymentIntent
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