Struct nakadion::api::NakadiApiClient[][src]

pub struct NakadiApiClient { /* fields omitted */ }

A REST client for the Nakadi API.

This accesses the REST API only and does not provide functionality for streaming.

Methods

impl NakadiApiClient
[src]

Build a new client with an owned access token provider.

Errors

Fails if no HTTP client could be created.

Build a new client with a shared access token provider.

Errors

Fails if no HTTP client could be created.

Trait Implementations

impl Clone for NakadiApiClient
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl ApiClient for NakadiApiClient
[src]

Commit the cursors encoded in the given bytes. Read more

Deletes an event type. Read more

Creates an event type defined by EventTypeDefinition. Read more

Creates an new subscription defined by a SubscriptionRequest. Read more

Deletes a Subscription identified by a SubscriptionId. Read more

Commit the cursors encoded in the given bytes. Read more

Auto Trait Implementations