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
sourceimpl<'de> Deserialize<'de> for Usage
impl<'de> Deserialize<'de> for Usage
sourcefn 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 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.