pub struct Bybit { /* private fields */ }Implementations§
Source§impl Bybit
impl Bybit
pub fn new() -> Self
pub fn with_key(api_key: &str) -> Self
pub fn with_key_and_secret(api_key: &str, api_secret: &str) -> Self
pub fn config(&mut self, config: Config)
pub async fn request<R>(
&self,
req: R,
) -> Result<RestResponse<R::Response>, BybitError>where
R: Request,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bybit
impl !RefUnwindSafe for Bybit
impl Send for Bybit
impl Sync for Bybit
impl Unpin for Bybit
impl !UnwindSafe for Bybit
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