Enum paypal_rust::resources::enums::user_action::UserAction
source · pub enum UserAction {
Continue,
PayNow,
}
Expand description
Configures a Continue or Pay Now checkout flow.
Variants§
Continue
After you redirect the customer to the PayPal payment page, a Continue button appears. Use this option when the final amount is not known when the checkout flow is initiated and you want to redirect the customer to the merchant page without processing
PayNow
After you redirect the customer to the PayPal payment page, a Pay Now button appears. Use this option when the final amount is known when the checkout is initiated and you want to process the payment immediately when the customer clicks Pay Now.
Implementations§
Trait Implementations§
source§impl AsRef<str> for UserAction
impl AsRef<str> for UserAction
source§impl Clone for UserAction
impl Clone for UserAction
source§fn clone(&self) -> UserAction
fn clone(&self) -> UserAction
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 UserAction
impl Debug for UserAction
source§impl<'de> Deserialize<'de> for UserAction
impl<'de> Deserialize<'de> for UserAction
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 UserAction
impl Display for UserAction
source§impl PartialEq<UserAction> for UserAction
impl PartialEq<UserAction> for UserAction
source§fn eq(&self, other: &UserAction) -> bool
fn eq(&self, other: &UserAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserAction
impl Serialize for UserAction
impl Copy for UserAction
impl Eq for UserAction
impl StructuralEq for UserAction
impl StructuralPartialEq for UserAction
Auto Trait Implementations§
impl RefUnwindSafe for UserAction
impl Send for UserAction
impl Sync for UserAction
impl Unpin for UserAction
impl UnwindSafe for UserAction
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.