pub struct CoinbaseParameters {
pub environment: Environment,
pub credentials: Option<CoinbaseCredentials>,
}
Expand description
This struct represents the coinbase parameters
Fields§
§environment: Environment
§credentials: Option<CoinbaseCredentials>
Implementations§
Source§impl CoinbaseParameters
impl CoinbaseParameters
pub fn sandbox() -> Self
pub fn production() -> Self
Trait Implementations§
Source§impl Clone for CoinbaseParameters
impl Clone for CoinbaseParameters
Source§fn clone(&self) -> CoinbaseParameters
fn clone(&self) -> CoinbaseParameters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CoinbaseParameters
impl Debug for CoinbaseParameters
Source§impl Default for CoinbaseParameters
impl Default for CoinbaseParameters
Source§fn default() -> CoinbaseParameters
fn default() -> CoinbaseParameters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CoinbaseParameters
impl RefUnwindSafe for CoinbaseParameters
impl Send for CoinbaseParameters
impl Sync for CoinbaseParameters
impl Unpin for CoinbaseParameters
impl UnwindSafe for CoinbaseParameters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more