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>Unique WebSocket request ID.
This field is **optional.
symbol: Option<String>Describe a single symbol
This field is **optional.
symbols: Option<Vec<String>>List of symbols to query
This field is **optional.
permissions: Option<Vec<String>>The permissions parameter.
This field is **optional.
show_permission_sets: Option<bool>The show_permission_sets parameter.
This field is **optional.
symbol_status: Option<ExchangeInfoSymbolStatusEnum>The symbol_status parameter.
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
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