Enum stripe::QuoteCollectionMethod
source · pub enum QuoteCollectionMethod {
ChargeAutomatically,
SendInvoice,
}
Expand description
An enum representing the possible values of an Quote
’s collection_method
field.
Variants§
Implementations§
Trait Implementations§
source§impl AsRef<str> for QuoteCollectionMethod
impl AsRef<str> for QuoteCollectionMethod
source§impl Clone for QuoteCollectionMethod
impl Clone for QuoteCollectionMethod
source§fn clone(&self) -> QuoteCollectionMethod
fn clone(&self) -> QuoteCollectionMethod
Returns a copy 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 QuoteCollectionMethod
impl Debug for QuoteCollectionMethod
source§impl Default for QuoteCollectionMethod
impl Default for QuoteCollectionMethod
source§impl<'de> Deserialize<'de> for QuoteCollectionMethod
impl<'de> Deserialize<'de> for QuoteCollectionMethod
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
source§impl Display for QuoteCollectionMethod
impl Display for QuoteCollectionMethod
source§impl PartialEq<QuoteCollectionMethod> for QuoteCollectionMethod
impl PartialEq<QuoteCollectionMethod> for QuoteCollectionMethod
source§fn eq(&self, other: &QuoteCollectionMethod) -> bool
fn eq(&self, other: &QuoteCollectionMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for QuoteCollectionMethod
impl Serialize for QuoteCollectionMethod
impl Copy for QuoteCollectionMethod
impl Eq for QuoteCollectionMethod
impl StructuralEq for QuoteCollectionMethod
impl StructuralPartialEq for QuoteCollectionMethod
Auto Trait Implementations§
impl RefUnwindSafe for QuoteCollectionMethod
impl Send for QuoteCollectionMethod
impl Sync for QuoteCollectionMethod
impl Unpin for QuoteCollectionMethod
impl UnwindSafe for QuoteCollectionMethod
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.