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§
Source§impl Clone for ProcessingFee
impl Clone for ProcessingFee
Source§fn clone(&self) -> ProcessingFee
fn clone(&self) -> ProcessingFee
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProcessingFee
impl Debug for ProcessingFee
Source§impl Default for ProcessingFee
impl Default for ProcessingFee
Source§fn default() -> ProcessingFee
fn default() -> ProcessingFee
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProcessingFee
impl<'de> Deserialize<'de> for ProcessingFee
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 ProcessingFee
impl PartialEq for ProcessingFee
Source§impl Serialize for ProcessingFee
impl Serialize for ProcessingFee
impl Eq for ProcessingFee
impl StructuralPartialEq for ProcessingFee
Auto Trait Implementations§
impl Freeze for ProcessingFee
impl RefUnwindSafe for ProcessingFee
impl Send for ProcessingFee
impl Sync for ProcessingFee
impl Unpin for ProcessingFee
impl UnwindSafe for ProcessingFee
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.