pub struct PayPal {
pub email: String,
pub reference: String,
}
Expand description
PayPal metadata
Fields§
§email: String
Email address associated with the PayPal account.
reference: String
PayPal payment method identifier.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PayPal
impl<'de> Deserialize<'de> for PayPal
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 PayPal
impl RefUnwindSafe for PayPal
impl Send for PayPal
impl Sync for PayPal
impl Unpin for PayPal
impl UnwindSafe for PayPal
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