[−][src]Struct coinbase_rs::private::Private
Methods
impl<A> Private<A>
[src]
pub fn new(uri: &str, key: &str, secret: &str) -> Self where
A: AdapterNew,
[src]
A: AdapterNew,
pub fn accounts(&self) -> A::Result where
A: Adapter<Vec<Account>> + 'static,
[src]
A: Adapter<Vec<Account>> + 'static,
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]
A: Adapter<Vec<Transaction>> + 'static,
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]
secret: &str,
timestamp: u64,
method: Method,
path: &str,
body_str: &str
) -> String
Auto Trait Implementations
impl<Adapter> Sync for Private<Adapter> where
Adapter: Sync,
Adapter: Sync,
impl<Adapter> Send for Private<Adapter> where
Adapter: Send,
Adapter: Send,
impl<Adapter> Unpin for Private<Adapter> where
Adapter: Unpin,
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self