pub struct LandingCompanyRequest {
pub landing_company: String,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
}
Expand description
The company has a number of licensed subsidiaries in various jurisdictions, which are called Landing Companies. This call will return the appropriate Landing Company for clients of a given country. The landing company may differ for derived contracts (Synthetic Indices) and Financial contracts (Forex, Stock Indices, Commodities).
Fields§
§landing_company: String
Client’s 2-letter country code (obtained from residence_list
call).\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
Trait Implementations§
Source§impl Clone for LandingCompanyRequest
impl Clone for LandingCompanyRequest
Source§fn clone(&self) -> LandingCompanyRequest
fn clone(&self) -> LandingCompanyRequest
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 LandingCompanyRequest
impl Debug for LandingCompanyRequest
Source§impl<'de> Deserialize<'de> for LandingCompanyRequest
impl<'de> Deserialize<'de> for LandingCompanyRequest
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 LandingCompanyRequest
impl RefUnwindSafe for LandingCompanyRequest
impl Send for LandingCompanyRequest
impl Sync for LandingCompanyRequest
impl Unpin for LandingCompanyRequest
impl UnwindSafe for LandingCompanyRequest
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