Struct square_api_client::models::ProcessingFee
source · [−]pub struct ProcessingFee {
pub effective_at: Option<DateTime>,
pub type: Option<ProcessingFeeType>,
pub amount_money: Option<Money>,
}
Expand description
Represents the Square processing fee.
Fields
effective_at: Option<DateTime>
The timestamp of when the fee takes effect.
type: Option<ProcessingFeeType>
The type of fee assessed or adjusted.
amount_money: Option<Money>
The fee amount, which might be negative, that is assessed or adjusted by Square.
Positive values represent funds being assessed, while negative values represent funds being returned.
Trait Implementations
sourceimpl Clone for ProcessingFee
impl Clone for ProcessingFee
sourcefn clone(&self) -> ProcessingFee
fn clone(&self) -> ProcessingFee
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 ProcessingFee
impl Debug for ProcessingFee
sourceimpl Default for ProcessingFee
impl Default for ProcessingFee
sourcefn default() -> ProcessingFee
fn default() -> ProcessingFee
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ProcessingFee
impl<'de> Deserialize<'de> for ProcessingFee
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<ProcessingFee> for ProcessingFee
impl PartialEq<ProcessingFee> for ProcessingFee
sourcefn eq(&self, other: &ProcessingFee) -> bool
fn eq(&self, other: &ProcessingFee) -> bool
sourceimpl Serialize for ProcessingFee
impl Serialize for ProcessingFee
impl Eq for ProcessingFee
impl StructuralEq for ProcessingFee
impl StructuralPartialEq for ProcessingFee
Auto Trait Implementations
impl RefUnwindSafe for ProcessingFee
impl Send for ProcessingFee
impl Sync for ProcessingFee
impl Unpin for ProcessingFee
impl UnwindSafe for ProcessingFee
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.