Struct square_api_client::models::AdditionalRecipient
source · [−]pub struct AdditionalRecipient {
pub location_id: String,
pub description: Option<String>,
pub amount_money: Money,
pub receivable_id: Option<String>,
}
👎Deprecated
Expand description
Represents an additional recipient (other than the merchant) receiving a portion of this tender.
Fields
location_id: String
👎Deprecated
Required The location ID for a recipient (other than the merchant) receiving a portion of this tender.
description: Option<String>
👎Deprecated
The description of the additional recipient.
amount_money: Money
👎Deprecated
Required The amount of money distributed to the recipient.
receivable_id: Option<String>
👎Deprecated
The unique ID for this [AdditionalRecipientReceivable], assigned by the server.
Trait Implementations
sourceimpl Clone for AdditionalRecipient
impl Clone for AdditionalRecipient
sourcefn clone(&self) -> AdditionalRecipient
fn clone(&self) -> AdditionalRecipient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AdditionalRecipient
impl Debug for AdditionalRecipient
sourceimpl<'de> Deserialize<'de> for AdditionalRecipient
impl<'de> Deserialize<'de> for AdditionalRecipient
sourcefn 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
sourceimpl PartialEq<AdditionalRecipient> for AdditionalRecipient
impl PartialEq<AdditionalRecipient> for AdditionalRecipient
sourcefn eq(&self, other: &AdditionalRecipient) -> bool
fn eq(&self, other: &AdditionalRecipient) -> bool
sourceimpl Serialize for AdditionalRecipient
impl Serialize for AdditionalRecipient
impl Eq for AdditionalRecipient
impl StructuralEq for AdditionalRecipient
impl StructuralPartialEq for AdditionalRecipient
Auto Trait Implementations
impl RefUnwindSafe for AdditionalRecipient
impl Send for AdditionalRecipient
impl Sync for AdditionalRecipient
impl Unpin for AdditionalRecipient
impl UnwindSafe for AdditionalRecipient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.