pub struct Subtotals {
pub tip_amount: String,
pub tax_amount: String,
}Expand description
Request subtotals.
Fields§
§tip_amount: StringThe tip amount.
tax_amount: StringThe tax amount.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Subtotals
impl<'de> Deserialize<'de> for Subtotals
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 Subtotals
impl RefUnwindSafe for Subtotals
impl Send for Subtotals
impl Sync for Subtotals
impl Unpin for Subtotals
impl UnsafeUnpin for Subtotals
impl UnwindSafe for Subtotals
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