pub struct BitgetUrls {
pub rest: String,
pub ws_public: String,
pub ws_private: String,
}Expand description
Bitget API URLs.
Fields§
§rest: StringREST API base URL.
ws_public: StringPublic WebSocket URL.
ws_private: StringPrivate WebSocket URL.
Implementations§
Source§impl BitgetUrls
impl BitgetUrls
Sourcepub fn production() -> Self
pub fn production() -> Self
Returns production environment URLs.
Trait Implementations§
Source§impl Clone for BitgetUrls
impl Clone for BitgetUrls
Source§fn clone(&self) -> BitgetUrls
fn clone(&self) -> BitgetUrls
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BitgetUrls
impl RefUnwindSafe for BitgetUrls
impl Send for BitgetUrls
impl Sync for BitgetUrls
impl Unpin for BitgetUrls
impl UnwindSafe for BitgetUrls
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