[][src]Struct coinbase_rs::private::Private

pub struct Private<Adapter> { /* fields omitted */ }

Methods

impl<A> Private<A>[src]

pub fn new(uri: &str, key: &str, secret: &str) -> Self where
    A: AdapterNew
[src]

pub fn accounts(&self) -> A::Result where
    A: Adapter<Vec<Account>> + 'static, 
[src]

List accounts

Lists current user’s accounts to which the authentication method has access to.

https://developers.coinbase.com/api/v2#list-accounts

pub fn transactions(&self, account_id: &Uuid) -> A::Result where
    A: Adapter<Vec<Transaction>> + 'static, 
[src]

List transactions

Lists account’s transactions.

https://developers.coinbase.com/api/v2#list-transactions

pub fn sign(
    secret: &str,
    timestamp: u64,
    method: Method,
    path: &str,
    body_str: &str
) -> String
[src]

Auto Trait Implementations

impl<Adapter> Sync for Private<Adapter> where
    Adapter: Sync

impl<Adapter> Send for Private<Adapter> where
    Adapter: Send

impl<Adapter> Unpin for Private<Adapter> where
    Adapter: Unpin

impl<Adapter> !RefUnwindSafe for Private<Adapter>

impl<Adapter> !UnwindSafe for Private<Adapter>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Erased for T