pub struct EasyPay {
pub provider: EasyPayProvider,
pub amount: i32,
pub discount_amount: i32,
}
Fields§
§provider: EasyPayProvider
§amount: i32
§discount_amount: i32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EasyPay
impl<'de> Deserialize<'de> for EasyPay
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 EasyPay
impl RefUnwindSafe for EasyPay
impl Send for EasyPay
impl Sync for EasyPay
impl Unpin for EasyPay
impl UnwindSafe for EasyPay
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