pub struct TradingServerItem {
pub account_type: Option<AccountType>,
pub disabled: Option<Disabled>,
pub environment: Option<Environment>,
pub geolocation: Option<Geolocation>,
pub id: Option<Id>,
pub market_type: Option<String>,
pub message_to_client: Option<String>,
pub recommended: Option<Recommended>,
pub supported_accounts: Option<Vec<String>>,
}
Fields§
§account_type: Option<AccountType>
Supported trading account type.\n
disabled: Option<Disabled>
Flag to represent if this server is currently disabled or not\n
environment: Option<Environment>
Current environment (installation instance) where servers are deployed. Currently, there are one demo and two real environments.\n
geolocation: Option<Geolocation>
Object containing geolocation information of the server.\n
id: Option<Id>
Server unique id.\n
market_type: Option<String>
Market type\n
message_to_client: Option<String>
Error message to client when server is disabled\n
recommended: Option<Recommended>
Flag to represent if this is server is recommended based on client’s country of residence.\n
supported_accounts: Option<Vec<String>>
Account type supported by the server.\n
Trait Implementations§
Source§impl Clone for TradingServerItem
impl Clone for TradingServerItem
Source§fn clone(&self) -> TradingServerItem
fn clone(&self) -> TradingServerItem
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 moreSource§impl Debug for TradingServerItem
impl Debug for TradingServerItem
Source§impl<'de> Deserialize<'de> for TradingServerItem
impl<'de> Deserialize<'de> for TradingServerItem
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 TradingServerItem
impl RefUnwindSafe for TradingServerItem
impl Send for TradingServerItem
impl Sync for TradingServerItem
impl Unpin for TradingServerItem
impl UnwindSafe for TradingServerItem
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