Struct ya_client_model::payment::allocation::NewAllocation
source · pub struct NewAllocation {
pub address: Option<String>,
pub payment_platform: Option<PaymentPlatformEnum>,
pub total_amount: BigDecimal,
pub timeout: Option<DateTime<Utc>>,
pub deposit: Option<Deposit>,
pub make_deposit: bool,
}
Fields§
§address: Option<String>
§payment_platform: Option<PaymentPlatformEnum>
§total_amount: BigDecimal
§timeout: Option<DateTime<Utc>>
§deposit: Option<Deposit>
§make_deposit: bool
Trait Implementations§
source§impl Clone for NewAllocation
impl Clone for NewAllocation
source§fn clone(&self) -> NewAllocation
fn clone(&self) -> NewAllocation
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 NewAllocation
impl Debug for NewAllocation
source§impl<'de> Deserialize<'de> for NewAllocation
impl<'de> Deserialize<'de> for NewAllocation
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 NewAllocation
impl PartialEq for NewAllocation
source§fn eq(&self, other: &NewAllocation) -> bool
fn eq(&self, other: &NewAllocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NewAllocation
impl Serialize for NewAllocation
impl StructuralPartialEq for NewAllocation
Auto Trait Implementations§
impl Freeze for NewAllocation
impl RefUnwindSafe for NewAllocation
impl Send for NewAllocation
impl Sync for NewAllocation
impl Unpin for NewAllocation
impl UnwindSafe for NewAllocation
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