pub struct AllocationAction {
pub id: String,
pub allocation_id: String,
pub external_id: Option<String>,
pub kind: String,
pub status: String,
pub requester: Requester,
pub request_body: Value,
pub failure_reason: Option<String>,
pub date_created: String,
}Expand description
A specific action performed on a allocation investment, such as depositing or withdrawing funds.
Fields§
§id: String§allocation_id: String§external_id: Option<String>§kind: String§status: String§requester: Requester§request_body: Value§failure_reason: Option<String>§date_created: StringTrait Implementations§
Source§impl Clone for AllocationAction
impl Clone for AllocationAction
Source§fn clone(&self) -> AllocationAction
fn clone(&self) -> AllocationAction
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 AllocationAction
impl Debug for AllocationAction
Source§impl<'de> Deserialize<'de> for AllocationAction
impl<'de> Deserialize<'de> for AllocationAction
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 AllocationAction
impl RefUnwindSafe for AllocationAction
impl Send for AllocationAction
impl Sync for AllocationAction
impl Unpin for AllocationAction
impl UnsafeUnpin for AllocationAction
impl UnwindSafe for AllocationAction
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