pub struct HeatmapService { /* private fields */ }Implementations§
Source§impl HeatmapService
impl HeatmapService
pub fn new(ctx: ServiceContext) -> Self
Source§impl HeatmapService
impl HeatmapService
Sourcepub async fn get(
&self,
symbol: &str,
interval: &str,
depth: u32,
limit: u32,
quantity_mode: &str,
) -> Result<ApiData>
pub async fn get( &self, symbol: &str, interval: &str, depth: u32, limit: u32, quantity_mode: &str, ) -> Result<ApiData>
Historical orderbook heatmap (Go HeatmapService.Get → ApiData).
Sourcepub async fn subscribe_live(
&self,
symbol: &str,
interval: &str,
) -> Result<TypedSubscription<ApiData>>
pub async fn subscribe_live( &self, symbol: &str, interval: &str, ) -> Result<TypedSubscription<ApiData>>
Subscribe to live heatmap buckets (requires realtime feature + hydrated catalogs).
Trait Implementations§
Source§impl Clone for HeatmapService
impl Clone for HeatmapService
Source§fn clone(&self) -> HeatmapService
fn clone(&self) -> HeatmapService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for HeatmapService
impl !RefUnwindSafe for HeatmapService
impl !UnwindSafe for HeatmapService
impl Send for HeatmapService
impl Sync for HeatmapService
impl Unpin for HeatmapService
impl UnsafeUnpin for HeatmapService
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