pub struct ListHolders { /* private fields */ }Expand description
Request builder for getting top holders
Implementations§
Source§impl ListHolders
impl ListHolders
Sourcepub fn limit(self, limit: u32) -> Self
pub fn limit(self, limit: u32) -> Self
Set maximum number of results per market (0-500, default: 100)
Sourcepub fn min_balance(self, min_balance: u32) -> Self
pub fn min_balance(self, min_balance: u32) -> Self
Set minimum balance filter (0-999999, default: 1)
Sourcepub async fn send(self) -> Result<Vec<MarketHolders>, DataApiError>
pub async fn send(self) -> Result<Vec<MarketHolders>, DataApiError>
Execute the request
Auto Trait Implementations§
impl Freeze for ListHolders
impl !RefUnwindSafe for ListHolders
impl Send for ListHolders
impl Sync for ListHolders
impl Unpin for ListHolders
impl UnsafeUnpin for ListHolders
impl !UnwindSafe for ListHolders
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