pub struct GetSystemStatusResponse {
pub status: String,
pub timestamp: String,
}
Fields§
§status: String
Current system status or trading mode
- online (operational, full trading available)
- cancel_only (existing orders are cancelable, but new orders cannot be created)
- post_only (existing orders are cancelable, and only new post limit orders can be submitted)
- limit_only (existing orders are cancelable, and only new limit orders can be submitted)
- maintenance (system is offline for maintenance)
timestamp: String
Server time
Trait Implementations§
Source§impl Debug for GetSystemStatusResponse
impl Debug for GetSystemStatusResponse
Source§impl<'de> Deserialize<'de> for GetSystemStatusResponse
impl<'de> Deserialize<'de> for GetSystemStatusResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetSystemStatusResponse
impl RefUnwindSafe for GetSystemStatusResponse
impl Send for GetSystemStatusResponse
impl Sync for GetSystemStatusResponse
impl Unpin for GetSystemStatusResponse
impl UnwindSafe for GetSystemStatusResponse
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