pub enum PaymentIntentCaptureMethod {
Automatic,
AutomaticAsync,
Manual,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaymentIntentCaptureMethod
impl Clone for PaymentIntentCaptureMethod
Source§fn clone(&self) -> PaymentIntentCaptureMethod
fn clone(&self) -> PaymentIntentCaptureMethod
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 PaymentIntentCaptureMethod
impl Debug for PaymentIntentCaptureMethod
Source§impl Display for PaymentIntentCaptureMethod
impl Display for PaymentIntentCaptureMethod
Source§impl FromStr for PaymentIntentCaptureMethod
impl FromStr for PaymentIntentCaptureMethod
Source§type Err = StripeParseError
type Err = StripeParseError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<PaymentIntentCaptureMethod, <PaymentIntentCaptureMethod as FromStr>::Err>
fn from_str( s: &str, ) -> Result<PaymentIntentCaptureMethod, <PaymentIntentCaptureMethod as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§impl Serialize for PaymentIntentCaptureMethod
impl Serialize for PaymentIntentCaptureMethod
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for PaymentIntentCaptureMethod
impl Eq for PaymentIntentCaptureMethod
impl StructuralPartialEq for PaymentIntentCaptureMethod
Auto Trait Implementations§
impl Freeze for PaymentIntentCaptureMethod
impl RefUnwindSafe for PaymentIntentCaptureMethod
impl Send for PaymentIntentCaptureMethod
impl Sync for PaymentIntentCaptureMethod
impl Unpin for PaymentIntentCaptureMethod
impl UnwindSafe for PaymentIntentCaptureMethod
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