#[non_exhaustive]pub enum OkxRegion {
Global,
Us,
Eea,
}Expand description
OKX REST API region.
Regional accounts must use the matching API domain. US and AU users
registered on app.okx.com should use OkxRegion::Us. EU users
registered on my.okx.com should use OkxRegion::Eea.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
impl Copy for OkxRegion
impl Eq for OkxRegion
impl StructuralPartialEq for OkxRegion
Auto Trait Implementations§
impl Freeze for OkxRegion
impl RefUnwindSafe for OkxRegion
impl Send for OkxRegion
impl Sync for OkxRegion
impl Unpin for OkxRegion
impl UnsafeUnpin for OkxRegion
impl UnwindSafe for OkxRegion
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