Struct squareup::models::OrderReturnTip
source · pub struct OrderReturnTip {
pub uid: Option<String>,
pub applied_money: Option<Money>,
pub source_tender_uid: Option<String>,
pub source_tender_id: Option<String>,
}Expand description
A tip being returned.
Fields§
§uid: Option<String>A unique ID that identifies the returned discount only within this order. Max length 60
applied_money: Option<Money>Read only The amount of tip being returned
source_tender_uid: Option<String>The tender uid from the order that contains the original application of this tip. Max Length 192
source_tender_id: Option<String>The tender id from the order that contains the original application of this tip. Max Length 192
Trait Implementations§
source§impl Clone for OrderReturnTip
impl Clone for OrderReturnTip
source§fn clone(&self) -> OrderReturnTip
fn clone(&self) -> OrderReturnTip
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 Debug for OrderReturnTip
impl Debug for OrderReturnTip
source§impl Default for OrderReturnTip
impl Default for OrderReturnTip
source§fn default() -> OrderReturnTip
fn default() -> OrderReturnTip
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for OrderReturnTip
impl<'de> Deserialize<'de> for OrderReturnTip
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 PartialEq for OrderReturnTip
impl PartialEq for OrderReturnTip
source§fn eq(&self, other: &OrderReturnTip) -> bool
fn eq(&self, other: &OrderReturnTip) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for OrderReturnTip
impl Serialize for OrderReturnTip
impl Eq for OrderReturnTip
impl StructuralPartialEq for OrderReturnTip
Auto Trait Implementations§
impl RefUnwindSafe for OrderReturnTip
impl Send for OrderReturnTip
impl Sync for OrderReturnTip
impl Unpin for OrderReturnTip
impl UnwindSafe for OrderReturnTip
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.