Struct streak::Client [] [src]

pub struct Client {
    pub retry_count: u8,
    pub retry_wait: u16,
    // some fields omitted
}

The Streak API Rust client.

This will allow the rest of this library to interact with the Streak API!

Fields

Configure the client to retry the request retry_count number of times when the service is unavailable.

Duration of time to wait between retry attempts.

Methods

impl Client
[src]

[src]

Create a new client to the Streak service.

[src]

Send a get request to the Streak service. This is intended to be used by the library and not the user.

Trait Implementations

impl Debug for Client
[src]

[src]

Formats the value using the given formatter.