pub struct Tender {Show 13 fields
pub id: Option<String>,
pub tender_type: TenderType,
pub amount_money: Option<Money>,
pub card_details: Option<TenderCardDetails>,
pub cash_details: Option<TenderCashDetails>,
pub created_at: Option<String>,
pub customer_id: Option<String>,
pub location_id: Option<String>,
pub note: Option<String>,
pub payment_id: Option<String>,
pub processing_fee_money: Option<Money>,
pub tip_money: Option<Money>,
pub transaction_id: Option<String>,
}Fields§
§id: Option<String>§tender_type: TenderType§amount_money: Option<Money>§card_details: Option<TenderCardDetails>§cash_details: Option<TenderCashDetails>§created_at: Option<String>§customer_id: Option<String>§location_id: Option<String>§note: Option<String>§payment_id: Option<String>§processing_fee_money: Option<Money>§tip_money: Option<Money>§transaction_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tender
impl<'de> Deserialize<'de> for Tender
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 Tender
impl RefUnwindSafe for Tender
impl Send for Tender
impl Sync for Tender
impl Unpin for Tender
impl UnwindSafe for Tender
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