pub struct Allowance {
pub reason: AllowanceReason,
pub max_amount: i32,
pub currency: String,
pub checkout_session_id: String,
pub merchant_id: String,
pub expires_at: String,
}Fields§
§reason: AllowanceReason§max_amount: i32§currency: String§checkout_session_id: String§merchant_id: String§expires_at: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Allowance
impl<'de> Deserialize<'de> for Allowance
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
impl StructuralPartialEq for Allowance
Auto Trait Implementations§
impl Freeze for Allowance
impl RefUnwindSafe for Allowance
impl Send for Allowance
impl Sync for Allowance
impl Unpin for Allowance
impl UnwindSafe for Allowance
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