pub struct CreateAllocationResponse {
pub id: String,
pub wallet_id: String,
pub protocol: String,
pub provider: Option<String>,
pub amount: Value,
pub rewards: Value,
pub date_created: String,
pub actions: Vec<AllocationAction>,
}Expand description
Create Allocation
Fields§
§id: String§wallet_id: String§protocol: String§provider: Option<String>§amount: Value§rewards: Value§date_created: String§actions: Vec<AllocationAction>Trait Implementations§
Source§impl Clone for CreateAllocationResponse
impl Clone for CreateAllocationResponse
Source§fn clone(&self) -> CreateAllocationResponse
fn clone(&self) -> CreateAllocationResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateAllocationResponse
impl Debug for CreateAllocationResponse
Source§impl<'de> Deserialize<'de> for CreateAllocationResponse
impl<'de> Deserialize<'de> for CreateAllocationResponse
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
Auto Trait Implementations§
impl Freeze for CreateAllocationResponse
impl RefUnwindSafe for CreateAllocationResponse
impl Send for CreateAllocationResponse
impl Sync for CreateAllocationResponse
impl Unpin for CreateAllocationResponse
impl UnsafeUnpin for CreateAllocationResponse
impl UnwindSafe for CreateAllocationResponse
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