pub struct PaymentsProviderStripe { /* private fields */ }
Expand description
Stripe payment provider
Implementations§
Source§impl PaymentsProviderStripe
impl PaymentsProviderStripe
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> PaymentsProviderStripeBuilder
pub fn publishable_key(&self) -> &String
pub fn need_country(&self) -> bool
pub fn need_postal_code(&self) -> bool
pub fn need_cardholder_name(&self) -> bool
Trait Implementations§
Source§impl AsRef<PaymentsProviderStripe> for PaymentsProviderStripe
impl AsRef<PaymentsProviderStripe> for PaymentsProviderStripe
Source§fn as_ref(&self) -> &PaymentsProviderStripe
fn as_ref(&self) -> &PaymentsProviderStripe
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for PaymentsProviderStripe
impl Clone for PaymentsProviderStripe
Source§fn clone(&self) -> PaymentsProviderStripe
fn clone(&self) -> PaymentsProviderStripe
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 PaymentsProviderStripe
impl Debug for PaymentsProviderStripe
Source§impl Default for PaymentsProviderStripe
impl Default for PaymentsProviderStripe
Source§fn default() -> PaymentsProviderStripe
fn default() -> PaymentsProviderStripe
Returns the “default value” for a type. Read more
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