pub struct PaymentMethodCustom {
pub display_name: Option<String>,
pub logo: Option<CustomLogo>,
pub type_: String,
}Fields§
§display_name: Option<String>Display name of the Dashboard-only CustomPaymentMethodType.
logo: Option<CustomLogo>Contains information about the Dashboard-only CustomPaymentMethodType logo.
type_: StringID of the Dashboard-only CustomPaymentMethodType. Not expandable.
Trait Implementations§
Source§impl Clone for PaymentMethodCustom
impl Clone for PaymentMethodCustom
Source§fn clone(&self) -> PaymentMethodCustom
fn clone(&self) -> PaymentMethodCustom
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PaymentMethodCustom
impl Debug for PaymentMethodCustom
Source§impl Deserialize for PaymentMethodCustom
impl Deserialize for PaymentMethodCustom
Source§impl FromValueOpt for PaymentMethodCustom
impl FromValueOpt for PaymentMethodCustom
fn from_value(v: Value) -> Option<Self>
Source§impl PartialEq for PaymentMethodCustom
impl PartialEq for PaymentMethodCustom
Source§fn eq(&self, other: &PaymentMethodCustom) -> bool
fn eq(&self, other: &PaymentMethodCustom) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PaymentMethodCustom
impl StructuralPartialEq for PaymentMethodCustom
Auto Trait Implementations§
impl Freeze for PaymentMethodCustom
impl RefUnwindSafe for PaymentMethodCustom
impl Send for PaymentMethodCustom
impl Sync for PaymentMethodCustom
impl Unpin for PaymentMethodCustom
impl UnsafeUnpin for PaymentMethodCustom
impl UnwindSafe for PaymentMethodCustom
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