pub struct PaymentsProviderStripe {
pub publishable_key: String,
pub need_country: bool,
pub need_postal_code: bool,
pub need_cardholder_name: bool,
}Expand description
Stripe payment provider
Fields§
§publishable_key: StringStripe API publishable key
need_country: boolTrue, if the user country must be provided
need_postal_code: boolTrue, if the user ZIP/postal code must be provided
need_cardholder_name: boolTrue, if the cardholder name must be provided
Trait Implementations§
Source§impl Clone for PaymentsProviderStripe
impl Clone for PaymentsProviderStripe
Source§fn clone(&self) -> PaymentsProviderStripe
fn clone(&self) -> PaymentsProviderStripe
Returns a duplicate 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 PaymentsProviderStripe
impl Debug for PaymentsProviderStripe
Source§impl<'de> Deserialize<'de> for PaymentsProviderStripe
impl<'de> Deserialize<'de> for PaymentsProviderStripe
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
Auto Trait Implementations§
impl Freeze for PaymentsProviderStripe
impl RefUnwindSafe for PaymentsProviderStripe
impl Send for PaymentsProviderStripe
impl Sync for PaymentsProviderStripe
impl Unpin for PaymentsProviderStripe
impl UnwindSafe for PaymentsProviderStripe
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