pub struct PolychartService { /* private fields */ }Implementations§
Source§impl PolychartService
impl PolychartService
pub fn new(ctx: ServiceContext) -> Self
Source§impl PolychartService
impl PolychartService
pub async fn get_market_layers( &self, req: GetMarketLayersRequest, ) -> Result<ApiData>
pub async fn list_inbox_market_layers( &self, req: ListInboxMarketLayersRequest, ) -> Result<ApiData>
pub async fn get_layer_snapshot( &self, req: GetLayerSnapshotRequest, ) -> Result<ApiData>
pub async fn get_layer_subscribe_tokens( &self, req: GetLayerSubscribeTokensRequest, ) -> Result<ApiData>
pub async fn list_owner_published_layers( &self, req: ListOwnerPublishedLayersRequest, ) -> Result<ApiData>
pub async fn publish_layer(&self, req: PublishLayerRequest) -> Result<ApiData>
pub async fn unpublish_layer( &self, req: UnpublishLayerRequest, ) -> Result<ApiData>
pub async fn upsert_layer(&self, req: UpsertLayerRequest) -> Result<ApiData>
pub async fn delete_layer(&self, req: DeleteLayerRequest) -> Result<ApiData>
pub async fn upsert_drawing(&self, req: UpsertDrawingRequest) -> Result<ApiData>
pub async fn delete_drawing(&self, req: DeleteDrawingRequest) -> Result<ApiData>
pub async fn set_layer_subscriptions( &self, req: SetLayerSubscriptionsRequest, ) -> Result<ApiData>
Trait Implementations§
Source§impl Clone for PolychartService
impl Clone for PolychartService
Source§fn clone(&self) -> PolychartService
fn clone(&self) -> PolychartService
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 PolychartService
impl !RefUnwindSafe for PolychartService
impl !UnwindSafe for PolychartService
impl Send for PolychartService
impl Sync for PolychartService
impl Unpin for PolychartService
impl UnsafeUnpin for PolychartService
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