pub struct Follower {
pub user: Option<Address>,
pub vault_equity: Dec,
pub pnl: Option<Dec>,
pub all_time_pnl: Option<Dec>,
pub days_following: Option<u64>,
pub vault_entry_time: Option<u64>,
pub lockup_until: Option<u64>,
}Fields§
§user: Option<Address>None for the leader’s own row, which the venue writes as "user":"Leader".
vault_equity: Dec§pnl: Option<Dec>§all_time_pnl: Option<Dec>§days_following: Option<u64>§vault_entry_time: Option<u64>§lockup_until: Option<u64>Milliseconds; a withdrawal before it is refused.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Follower
impl<'de> Deserialize<'de> for Follower
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
impl Eq for Follower
impl StructuralPartialEq for Follower
Auto Trait Implementations§
impl Freeze for Follower
impl RefUnwindSafe for Follower
impl Send for Follower
impl Sync for Follower
impl Unpin for Follower
impl UnsafeUnpin for Follower
impl UnwindSafe for Follower
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.