pub struct ScanQuery {
pub markets: Vec<Market>,
pub symbols: Symbols,
pub options: BTreeMap<String, Value>,
pub columns: Vec<Column>,
pub filters: Vec<FilterCondition>,
pub filter_tree: Option<FilterTree>,
pub sort: Option<SortSpec>,
pub page: Page,
pub ignore_unknown_fields: Option<bool>,
pub preset: Option<String>,
pub price_conversion: Option<PriceConversion>,
}Fields§
§markets: Vec<Market>§symbols: Symbols§options: BTreeMap<String, Value>§columns: Vec<Column>§filters: Vec<FilterCondition>§filter_tree: Option<FilterTree>§sort: Option<SortSpec>§page: Page§ignore_unknown_fields: Option<bool>§preset: Option<String>§price_conversion: Option<PriceConversion>Implementations§
Source§impl ScanQuery
impl ScanQuery
pub fn new() -> Self
pub fn select<I, C>(self, columns: I) -> Self
pub fn push_column(self, column: impl Into<Column>) -> Self
pub fn market(self, market: impl Into<Market>) -> Self
pub fn markets<I, M>(self, markets: I) -> Self
pub fn symbols(self, symbols: Symbols) -> Self
pub fn tickers<I, T>(self, tickers: I) -> Self
pub fn symbolset<I, S>(self, symbolset: I) -> Self
pub fn watchlist(self, id: i64) -> Self
pub fn group(self, group: SymbolGroup) -> Self
pub fn symbol_types<I, S>(self, types: I) -> Self
pub fn filter(self, filter: FilterCondition) -> Self
pub fn filters<I>(self, filters: I) -> Selfwhere
I: IntoIterator<Item = FilterCondition>,
pub fn filter_tree(self, filter_tree: FilterTree) -> Self
pub fn sort(self, sort: SortSpec) -> Self
pub fn page(self, offset: usize, limit: usize) -> TvResult<Self>
pub fn language(self, language: impl Into<String>) -> Self
pub fn option(self, key: impl Into<String>, value: impl Into<Value>) -> Self
pub fn preset(self, preset: impl Into<String>) -> Self
pub fn price_conversion(self, price_conversion: PriceConversion) -> Self
pub fn ignore_unknown_fields(self, ignore_unknown_fields: bool) -> Self
pub fn route_segment(&self) -> String
Trait Implementations§
impl StructuralPartialEq for ScanQuery
Auto Trait Implementations§
impl Freeze for ScanQuery
impl RefUnwindSafe for ScanQuery
impl Send for ScanQuery
impl Sync for ScanQuery
impl Unpin for ScanQuery
impl UnsafeUnpin for ScanQuery
impl UnwindSafe for ScanQuery
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