pub struct TerminalReaderReaderResourceTippingConfig {
pub amount_eligible: Option<i64>,
}
Fields§
§amount_eligible: Option<i64>
Amount used to calculate tip suggestions on tipping selection screen for this transaction.
Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
Trait Implementations§
source§impl Clone for TerminalReaderReaderResourceTippingConfig
impl Clone for TerminalReaderReaderResourceTippingConfig
source§fn clone(&self) -> TerminalReaderReaderResourceTippingConfig
fn clone(&self) -> TerminalReaderReaderResourceTippingConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for TerminalReaderReaderResourceTippingConfig
impl Default for TerminalReaderReaderResourceTippingConfig
source§fn default() -> TerminalReaderReaderResourceTippingConfig
fn default() -> TerminalReaderReaderResourceTippingConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TerminalReaderReaderResourceTippingConfig
impl<'de> Deserialize<'de> for TerminalReaderReaderResourceTippingConfig
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 TerminalReaderReaderResourceTippingConfig
impl RefUnwindSafe for TerminalReaderReaderResourceTippingConfig
impl Send for TerminalReaderReaderResourceTippingConfig
impl Sync for TerminalReaderReaderResourceTippingConfig
impl Unpin for TerminalReaderReaderResourceTippingConfig
impl UnwindSafe for TerminalReaderReaderResourceTippingConfig
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