Struct ya_client_model::payment::activity_payment::ActivityPayment
source · pub struct ActivityPayment {
pub activity_id: String,
pub amount: BigDecimal,
pub allocation_id: Option<String>,
}Fields§
§activity_id: String§amount: BigDecimal§allocation_id: Option<String>Trait Implementations§
source§impl Clone for ActivityPayment
impl Clone for ActivityPayment
source§fn clone(&self) -> ActivityPayment
fn clone(&self) -> ActivityPayment
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 ActivityPayment
impl Debug for ActivityPayment
source§impl<'de> Deserialize<'de> for ActivityPayment
impl<'de> Deserialize<'de> for ActivityPayment
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 ActivityPayment
impl PartialEq for ActivityPayment
source§fn eq(&self, other: &ActivityPayment) -> bool
fn eq(&self, other: &ActivityPayment) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ActivityPayment
impl Serialize for ActivityPayment
impl StructuralPartialEq for ActivityPayment
Auto Trait Implementations§
impl RefUnwindSafe for ActivityPayment
impl Send for ActivityPayment
impl Sync for ActivityPayment
impl Unpin for ActivityPayment
impl UnwindSafe for ActivityPayment
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