pub struct PaymentOption {
pub title: String,
pub url: String,
}
Expand description
Describes an additional payment option
Fields§
§title: String
Title for the payment option
url: String
Payment form URL to be opened in a web view
Trait Implementations§
Source§impl Clone for PaymentOption
impl Clone for PaymentOption
Source§fn clone(&self) -> PaymentOption
fn clone(&self) -> PaymentOption
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 PaymentOption
impl Debug for PaymentOption
Source§impl Default for PaymentOption
impl Default for PaymentOption
Source§fn default() -> PaymentOption
fn default() -> PaymentOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentOption
impl<'de> Deserialize<'de> for PaymentOption
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 PartialEq for PaymentOption
impl PartialEq for PaymentOption
Source§impl Serialize for PaymentOption
impl Serialize for PaymentOption
impl StructuralPartialEq for PaymentOption
Auto Trait Implementations§
impl Freeze for PaymentOption
impl RefUnwindSafe for PaymentOption
impl Send for PaymentOption
impl Sync for PaymentOption
impl Unpin for PaymentOption
impl UnwindSafe for PaymentOption
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