pub struct VaultHistory {
pub vault_id: u32,
pub timestamp: DateTime<Utc>,
pub nav: Option<Decimal>,
pub vault_equity: Option<Decimal>,
pub token_circulating_supply: Option<Decimal>,
}Expand description
Historical vault data.
Fields§
§vault_id: u32The vault ID.
timestamp: DateTime<Utc>Timestamp of the snapshot.
Net asset value per token.
vault_equity: Option<Decimal>Total vault equity in USDC.
token_circulating_supply: Option<Decimal>Total circulating vault tokens.
Trait Implementations§
Source§impl Clone for VaultHistory
impl Clone for VaultHistory
Source§fn clone(&self) -> VaultHistory
fn clone(&self) -> VaultHistory
Returns a duplicate 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 VaultHistory
impl Debug for VaultHistory
Source§impl<'de> Deserialize<'de> for VaultHistory
impl<'de> Deserialize<'de> for VaultHistory
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 VaultHistory
impl RefUnwindSafe for VaultHistory
impl Send for VaultHistory
impl Sync for VaultHistory
impl Unpin for VaultHistory
impl UnsafeUnpin for VaultHistory
impl UnwindSafe for VaultHistory
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