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