pub enum InvoiceCollectionMethod {
ChargeAutomatically,
SendInvoice,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for InvoiceCollectionMethod
impl Clone for InvoiceCollectionMethod
Source§fn clone(&self) -> InvoiceCollectionMethod
fn clone(&self) -> InvoiceCollectionMethod
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 InvoiceCollectionMethod
impl Debug for InvoiceCollectionMethod
Source§impl Display for InvoiceCollectionMethod
impl Display for InvoiceCollectionMethod
Source§impl FromStr for InvoiceCollectionMethod
impl FromStr for InvoiceCollectionMethod
Source§type Err = StripeParseError
type Err = StripeParseError
The associated error which can be returned from parsing.
Source§fn from_str(
s: &str,
) -> Result<InvoiceCollectionMethod, <InvoiceCollectionMethod as FromStr>::Err>
fn from_str( s: &str, ) -> Result<InvoiceCollectionMethod, <InvoiceCollectionMethod as FromStr>::Err>
Parses a string
s
to return a value of this type. Read moreSource§impl PartialEq for InvoiceCollectionMethod
impl PartialEq for InvoiceCollectionMethod
Source§impl Serialize for InvoiceCollectionMethod
impl Serialize for InvoiceCollectionMethod
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 InvoiceCollectionMethod
impl Eq for InvoiceCollectionMethod
impl StructuralPartialEq for InvoiceCollectionMethod
Auto Trait Implementations§
impl Freeze for InvoiceCollectionMethod
impl RefUnwindSafe for InvoiceCollectionMethod
impl Send for InvoiceCollectionMethod
impl Sync for InvoiceCollectionMethod
impl Unpin for InvoiceCollectionMethod
impl UnwindSafe for InvoiceCollectionMethod
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