pub struct CreateAllocationActionResponse {
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 Action
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 CreateAllocationActionResponse
impl Clone for CreateAllocationActionResponse
Source§fn clone(&self) -> CreateAllocationActionResponse
fn clone(&self) -> CreateAllocationActionResponse
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<'de> Deserialize<'de> for CreateAllocationActionResponse
impl<'de> Deserialize<'de> for CreateAllocationActionResponse
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 CreateAllocationActionResponse
impl RefUnwindSafe for CreateAllocationActionResponse
impl Send for CreateAllocationActionResponse
impl Sync for CreateAllocationActionResponse
impl Unpin for CreateAllocationActionResponse
impl UnsafeUnpin for CreateAllocationActionResponse
impl UnwindSafe for CreateAllocationActionResponse
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