pub enum LandingPage {
Login,
Billing,
NoPreference,
}
Expand description
The type of landing page to show on the PayPal site for customer checkout.
Variants§
Login
When the customer clicks PayPal Checkout, the customer is redirected to a page to log in to PayPal and approve the payment.
Billing
When the customer clicks PayPal Checkout, the customer is redirected to a page to enter credit or debit card and other relevant billing information required to complete the purchase.
NoPreference
When the customer clicks PayPal Checkout, the customer is redirected to either a page to log in to PayPal and approve the payment or to a page to enter credit or debit card and other relevant billing information required to complete the purchase, depending on their previous interaction with PayPal.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for LandingPage
impl AsRef<str> for LandingPage
Source§impl Clone for LandingPage
impl Clone for LandingPage
Source§fn clone(&self) -> LandingPage
fn clone(&self) -> LandingPage
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LandingPage
impl Debug for LandingPage
Source§impl<'de> Deserialize<'de> for LandingPage
impl<'de> Deserialize<'de> for LandingPage
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 LandingPage
impl Display for LandingPage
Source§impl PartialEq for LandingPage
impl PartialEq for LandingPage
Source§impl Serialize for LandingPage
impl Serialize for LandingPage
impl Copy for LandingPage
impl Eq for LandingPage
impl StructuralPartialEq for LandingPage
Auto Trait Implementations§
impl Freeze for LandingPage
impl RefUnwindSafe for LandingPage
impl Send for LandingPage
impl Sync for LandingPage
impl Unpin for LandingPage
impl UnwindSafe for LandingPage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.