pub struct MarketOverviewService { /* private fields */ }Implementations§
Source§impl MarketOverviewService
impl MarketOverviewService
pub fn new(ctx: ServiceContext) -> Self
pub async fn list( &self, opts: impl Into<ListMarketOverviewOptions>, ) -> Result<MarketOverviewList>
Sourcepub async fn subscribe(&self) -> Result<TypedSubscription<MarketOverviewList>>
pub async fn subscribe(&self) -> Result<TypedSubscription<MarketOverviewList>>
Subscribe to public market overview batches.
Sourcepub async fn create_subscription(
&self,
opts: MarketOverviewCreateSubscriptionOptions,
) -> Result<Subscription>
pub async fn create_subscription( &self, opts: MarketOverviewCreateSubscriptionOptions, ) -> Result<Subscription>
Snapshot-then-stream merged overview rows.
Trait Implementations§
Source§impl Clone for MarketOverviewService
impl Clone for MarketOverviewService
Source§fn clone(&self) -> MarketOverviewService
fn clone(&self) -> MarketOverviewService
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 MarketOverviewService
impl !RefUnwindSafe for MarketOverviewService
impl !UnwindSafe for MarketOverviewService
impl Send for MarketOverviewService
impl Sync for MarketOverviewService
impl Unpin for MarketOverviewService
impl UnsafeUnpin for MarketOverviewService
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