pub struct DeviceCheckoutOptions {
pub device_id: Option<String>,
pub collect_signature: Option<bool>,
pub show_itemized_cart: Option<bool>,
pub skip_receipt_screen: Option<bool>,
pub tip_settings: Option<TipSettings>,
}Fields§
§device_id: Option<String>§collect_signature: Option<bool>§show_itemized_cart: Option<bool>§skip_receipt_screen: Option<bool>§tip_settings: Option<TipSettings>Trait Implementations§
Source§impl AddField<DeviceCheckoutOptions> for CreateTerminalCheckoutBody
impl AddField<DeviceCheckoutOptions> for CreateTerminalCheckoutBody
fn add_field(&mut self, field: DeviceCheckoutOptions)
Source§impl Clone for DeviceCheckoutOptions
impl Clone for DeviceCheckoutOptions
Source§fn clone(&self) -> DeviceCheckoutOptions
fn clone(&self) -> DeviceCheckoutOptions
Returns a duplicate 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 Debug for DeviceCheckoutOptions
impl Debug for DeviceCheckoutOptions
Source§impl Default for DeviceCheckoutOptions
impl Default for DeviceCheckoutOptions
Source§fn default() -> DeviceCheckoutOptions
fn default() -> DeviceCheckoutOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceCheckoutOptions
impl<'de> Deserialize<'de> for DeviceCheckoutOptions
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
Source§impl Serialize for DeviceCheckoutOptions
impl Serialize for DeviceCheckoutOptions
Source§impl Validate for DeviceCheckoutOptions
impl Validate for DeviceCheckoutOptions
Auto Trait Implementations§
impl Freeze for DeviceCheckoutOptions
impl RefUnwindSafe for DeviceCheckoutOptions
impl Send for DeviceCheckoutOptions
impl Sync for DeviceCheckoutOptions
impl Unpin for DeviceCheckoutOptions
impl UnwindSafe for DeviceCheckoutOptions
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