pub struct AmountAllocated {
pub bonding: Option<AllocationState>,
pub exit_queue: Option<AllocationState>,
pub pending: Option<EarnAmount>,
pub total: EarnAmount,
pub unbonding: Option<AllocationState>,
}
Expand description
Details of an allocation to a particular strategy
Fields§
§bonding: Option<AllocationState>
§exit_queue: Option<AllocationState>
§pending: Option<EarnAmount>
§total: EarnAmount
§unbonding: Option<AllocationState>
Trait Implementations§
Source§impl Clone for AmountAllocated
impl Clone for AmountAllocated
Source§fn clone(&self) -> AmountAllocated
fn clone(&self) -> AmountAllocated
Returns a copy of the value. Read more
1.0.0 · 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 AmountAllocated
impl Debug for AmountAllocated
Source§impl<'de> Deserialize<'de> for AmountAllocated
impl<'de> Deserialize<'de> for AmountAllocated
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
Source§impl PartialEq for AmountAllocated
impl PartialEq for AmountAllocated
impl StructuralPartialEq for AmountAllocated
Auto Trait Implementations§
impl Freeze for AmountAllocated
impl RefUnwindSafe for AmountAllocated
impl Send for AmountAllocated
impl Sync for AmountAllocated
impl Unpin for AmountAllocated
impl UnwindSafe for AmountAllocated
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