pub struct ExchangeInfoParams {
pub id: Option<String>,
pub symbol: Option<String>,
pub symbols: Option<Vec<String>>,
pub permissions: Option<Vec<String>>,
pub show_permission_sets: Option<bool>,
pub symbol_status: Option<ExchangeInfoSymbolStatusEnum>,
}Expand description
Request parameters for the [exchange_info] operation.
This struct holds all of the inputs you can pass when calling
exchange_info.
Fields§
§id: Option<String>Client-generated request identifier.
This field is **optional.
symbol: Option<String>Describe a single symbol
This field is **optional.
symbols: Option<Vec<String>>Describe multiple symbols
This field is **optional.
permissions: Option<Vec<String>>Filter symbols by permissions
This field is **optional.
show_permission_sets: Option<bool>Controls whether the content of the permissionSets field is populated or not. Defaults to true.
This field is **optional.
symbol_status: Option<ExchangeInfoSymbolStatusEnum>Filters for symbols that have this tradingStatus. Valid values: TRADING, HALT, BREAK. Cannot be used in combination with symbol or symbols.
This field is **optional.
Implementations§
Source§impl ExchangeInfoParams
impl ExchangeInfoParams
Sourcepub fn builder() -> ExchangeInfoParamsBuilder
pub fn builder() -> ExchangeInfoParamsBuilder
Create a builder for [exchange_info].
Trait Implementations§
Source§impl Clone for ExchangeInfoParams
impl Clone for ExchangeInfoParams
Source§fn clone(&self) -> ExchangeInfoParams
fn clone(&self) -> ExchangeInfoParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExchangeInfoParams
impl Debug for ExchangeInfoParams
Source§impl Default for ExchangeInfoParams
impl Default for ExchangeInfoParams
Source§fn default() -> ExchangeInfoParams
fn default() -> ExchangeInfoParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExchangeInfoParams
impl<'de> Deserialize<'de> for ExchangeInfoParams
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 ExchangeInfoParams
impl RefUnwindSafe for ExchangeInfoParams
impl Send for ExchangeInfoParams
impl Sync for ExchangeInfoParams
impl Unpin for ExchangeInfoParams
impl UnsafeUnpin for ExchangeInfoParams
impl UnwindSafe for ExchangeInfoParams
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