pub struct Cancel {
pub cancel_amount: i32,
pub cancel_reason: String,
pub tax_free_amount: i32,
pub tax_exemption_amount: i32,
pub refundable_amount: i32,
pub easy_pay_discount_amount: i32,
pub canceled_at: String,
pub transaction_key: String,
pub receipt_key: Option<String>,
}
Fields§
§cancel_amount: i32
§cancel_reason: String
§tax_free_amount: i32
§tax_exemption_amount: i32
§refundable_amount: i32
§easy_pay_discount_amount: i32
§canceled_at: String
§transaction_key: String
§receipt_key: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cancel
impl<'de> Deserialize<'de> for Cancel
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 Cancel
impl RefUnwindSafe for Cancel
impl Send for Cancel
impl Sync for Cancel
impl Unpin for Cancel
impl UnwindSafe for Cancel
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