pub struct UpbitAuthConfig {
pub access_key: SmartString,
pub secret_key: SmartString,
}Expand description
Upbit authentication config
Fields§
§access_key: SmartStringThe access key for the Upbit API.
secret_key: SmartStringThe secret key for the Upbit API.
Implementations§
Source§impl UpbitAuthConfig
impl UpbitAuthConfig
Sourcepub const fn new(access_key: SmartString, secret_key: SmartString) -> Self
pub const fn new(access_key: SmartString, secret_key: SmartString) -> Self
Create a new authentication configuration
Trait Implementations§
Source§impl Clone for UpbitAuthConfig
impl Clone for UpbitAuthConfig
Source§fn clone(&self) -> UpbitAuthConfig
fn clone(&self) -> UpbitAuthConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UpbitAuthConfig
impl RefUnwindSafe for UpbitAuthConfig
impl Send for UpbitAuthConfig
impl Sync for UpbitAuthConfig
impl Unpin for UpbitAuthConfig
impl UnwindSafe for UpbitAuthConfig
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