pub struct BybitAuthConfig {
pub api_key: String,
pub api_secret: String,
pub auth_method: AuthMethod,
pub recv_window: u64,
}Expand description
Bybit authentication configuration
Fields§
§api_key: StringAPI key
api_secret: StringAPI secret key (for HMAC) or RSA private key (for RSA)
auth_method: AuthMethodAuthentication method
recv_window: u64Receive window (milliseconds, default 5000)
Implementations§
Trait Implementations§
Source§impl Clone for BybitAuthConfig
impl Clone for BybitAuthConfig
Source§fn clone(&self) -> BybitAuthConfig
fn clone(&self) -> BybitAuthConfig
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 BybitAuthConfig
impl RefUnwindSafe for BybitAuthConfig
impl Send for BybitAuthConfig
impl Sync for BybitAuthConfig
impl Unpin for BybitAuthConfig
impl UnwindSafe for BybitAuthConfig
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