pub struct DeribitUrls;Expand description
Base URL configuration
Implementations§
Source§impl DeribitUrls
impl DeribitUrls
pub const PROD_BASE_URL: &'static str = "https://www.deribit.com"
pub const TEST_BASE_URL: &'static str = "https://test.deribit.com"
pub const PROD_WS_URL: &'static str = "wss://www.deribit.com/ws/api/v2"
pub const TEST_WS_URL: &'static str = "wss://test.deribit.com/ws/api/v2"
pub fn get_base_url(test_net: bool) -> &'static str
pub fn get_ws_url(test_net: bool) -> &'static str
Auto Trait Implementations§
impl Freeze for DeribitUrls
impl RefUnwindSafe for DeribitUrls
impl Send for DeribitUrls
impl Sync for DeribitUrls
impl Unpin for DeribitUrls
impl UnwindSafe for DeribitUrls
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