Struct ya_client_model::payment::allocation::NewAllocation
source · [−]pub struct NewAllocation {
pub address: Option<String>,
pub payment_platform: Option<String>,
pub total_amount: BigDecimal,
pub timeout: Option<DateTime<Utc>>,
pub make_deposit: bool,
}Fields
address: Option<String>payment_platform: Option<String>total_amount: BigDecimaltimeout: Option<DateTime<Utc>>make_deposit: boolTrait Implementations
sourceimpl Clone for NewAllocation
impl Clone for NewAllocation
sourcefn clone(&self) -> NewAllocation
fn clone(&self) -> NewAllocation
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 more
sourceimpl Debug for NewAllocation
impl Debug for NewAllocation
sourceimpl<'de> Deserialize<'de> for NewAllocation
impl<'de> Deserialize<'de> for NewAllocation
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<NewAllocation> for NewAllocation
impl PartialEq<NewAllocation> for NewAllocation
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &NewAllocation) -> bool
fn ne(&self, other: &NewAllocation) -> bool
This method tests for !=.
sourceimpl Serialize for NewAllocation
impl Serialize for NewAllocation
impl StructuralPartialEq for NewAllocation
Auto Trait Implementations
impl RefUnwindSafe for NewAllocation
impl Send for NewAllocation
impl Sync for NewAllocation
impl Unpin for NewAllocation
impl UnwindSafe for NewAllocation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more