pub struct BnEndpoint { /* private fields */ }Implementations§
Source§impl BnEndpoint
impl BnEndpoint
pub fn new_spot() -> Self
pub fn new_spot_testnet() -> Self
pub fn new_usdm() -> Self
pub fn new_usdm_testnet() -> Self
pub fn build_rest_api_url(&self, path: &str) -> Url
pub fn get_ws_api_base_url(&self) -> &Url
pub fn get_ws_stream_base_url(&self) -> &Url
Auto Trait Implementations§
impl Freeze for BnEndpoint
impl RefUnwindSafe for BnEndpoint
impl Send for BnEndpoint
impl Sync for BnEndpoint
impl Unpin for BnEndpoint
impl UnwindSafe for BnEndpoint
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