pub struct EscrowStats {
pub count: u32,
pub total_shares: u128,
pub total_expected_assets: u128,
}Expand description
Aggregate escrow statistics.
Fields§
§count: u32§total_expected_assets: u128Trait Implementations§
Source§impl BorshDeserialize for EscrowStats
impl BorshDeserialize for EscrowStats
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for EscrowStats
impl BorshSerialize for EscrowStats
Source§impl Clone for EscrowStats
impl Clone for EscrowStats
Source§fn clone(&self) -> EscrowStats
fn clone(&self) -> EscrowStats
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 EscrowStats
impl Debug for EscrowStats
Source§impl Default for EscrowStats
impl Default for EscrowStats
Source§fn default() -> EscrowStats
fn default() -> EscrowStats
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EscrowStats
impl<'de> Deserialize<'de> for EscrowStats
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 EscrowStats
impl PartialEq for EscrowStats
Source§impl Serialize for EscrowStats
impl Serialize for EscrowStats
impl Eq for EscrowStats
impl StructuralPartialEq for EscrowStats
Auto Trait Implementations§
impl Freeze for EscrowStats
impl RefUnwindSafe for EscrowStats
impl Send for EscrowStats
impl Sync for EscrowStats
impl Unpin for EscrowStats
impl UnwindSafe for EscrowStats
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