Struct krakenrs::KrakenRestClient [−][src]
pub struct KrakenRestClient { /* fields omitted */ }
Expand description
A low-level https connection to kraken that can execute public or private methods.
Implementations
Change the credentials used
pub fn query_public<D: Serialize, R: DeserializeOwned>(
&self,
method: &str,
query_data: D
) -> Result<R>
pub fn query_public<D: Serialize, R: DeserializeOwned>(
&self,
method: &str,
query_data: D
) -> Result<R>
Execute a public API, given method, and object matching the expected schema, and returning expected schema or an error.
pub fn query_private<D: Serialize, R: DeserializeOwned>(
&self,
method: &str,
query_data: D
) -> Result<R>
pub fn query_private<D: Serialize, R: DeserializeOwned>(
&self,
method: &str,
query_data: D
) -> Result<R>
Execute a private API, given method, and object matching the expected schema, and returning expected schema or an error.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for KrakenRestClient
impl Send for KrakenRestClient
impl Sync for KrakenRestClient
impl Unpin for KrakenRestClient
impl !UnwindSafe for KrakenRestClient
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more