pub struct BinanceCredentials {
pub api_key: String,
pub api_secret: String,
}Expand description
This struct represents the credentials and receives the api key and api secret as parameters.
Fields§
§api_key: String§api_secret: StringTrait Implementations§
Source§impl Clone for BinanceCredentials
impl Clone for BinanceCredentials
Source§fn clone(&self) -> BinanceCredentials
fn clone(&self) -> BinanceCredentials
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 moreAuto Trait Implementations§
impl Freeze for BinanceCredentials
impl RefUnwindSafe for BinanceCredentials
impl Send for BinanceCredentials
impl Sync for BinanceCredentials
impl Unpin for BinanceCredentials
impl UnsafeUnpin for BinanceCredentials
impl UnwindSafe for BinanceCredentials
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