pub struct BinanceParameters {
pub environment: Environment,
pub credentials: Option<BinanceCredentials>,
}Expand description
This struct represents the type of environment that will be used and receives a boolean and the credentials as parameters.
Fields§
§environment: Environment§credentials: Option<BinanceCredentials>Implementations§
Source§impl BinanceParameters
impl BinanceParameters
Sourcepub fn production() -> Self
pub fn production() -> Self
Production environment
Trait Implementations§
Source§impl Clone for BinanceParameters
impl Clone for BinanceParameters
Source§fn clone(&self) -> BinanceParameters
fn clone(&self) -> BinanceParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BinanceParameters
impl Debug for BinanceParameters
Source§impl Default for BinanceParameters
impl Default for BinanceParameters
Source§fn default() -> BinanceParameters
fn default() -> BinanceParameters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BinanceParameters
impl RefUnwindSafe for BinanceParameters
impl Send for BinanceParameters
impl Sync for BinanceParameters
impl Unpin for BinanceParameters
impl UnsafeUnpin for BinanceParameters
impl UnwindSafe for BinanceParameters
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