pub enum Usage {
First,
Subsequent,
Derived,
}
Expand description
Indicates if this is a first or subsequent payment using a stored payment source (also referred to as stored credential or card on file).
Variants§
First
Indicates the Initial/First payment with a payment_source that is intended to be stored upon
Subsequent
Indicates a payment using a stored payment_source which has been successfully used previously for a payment.
Derived
Indicates that PayPal will derive the value of FIRST
or SUBSEQUENT
based on data available to PayPal.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Usage
impl<'de> Deserialize<'de> for Usage
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 PartialEq<Usage> for Usage
impl PartialEq<Usage> for Usage
impl Copy for Usage
impl Eq for Usage
impl StructuralEq for Usage
impl StructuralPartialEq for Usage
Auto Trait Implementations§
impl RefUnwindSafe for Usage
impl Send for Usage
impl Sync for Usage
impl Unpin for Usage
impl UnwindSafe for Usage
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.