#[non_exhaustive]pub struct ScreenerQuery {
pub universe: Option<String>,
pub text: String,
pub columns: Vec<String>,
pub filters: Vec<ScreenerFilter>,
pub sort_by: Option<String>,
pub descending: bool,
pub offset: usize,
pub limit: usize,
}Expand description
The rows a screener asks Datafeed::screen for. The feed
filters, sorts and limits.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.universe: Option<String>The ScreenerUniverse::id to screen, or None when the host offers no universes.
text: StringWhat the user wrote to describe the screen, or empty for none. The feed interprets it
together with the other criteria, answering
Datafeed::screen_text.
columns: Vec<String>The ScreenerColumn::ids each row answers a value for, in order.
filters: Vec<ScreenerFilter>Conditions every row meets.
sort_by: Option<String>The column to sort by, or the feed’s own order when None.
descending: boolSort from the largest value.
offset: usizeRows to skip, for the next page of the same screen.
limit: usizeRows wanted at most.
Trait Implementations§
Source§impl Clone for ScreenerQuery
impl Clone for ScreenerQuery
Source§fn clone(&self) -> ScreenerQuery
fn clone(&self) -> ScreenerQuery
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 ScreenerQuery
impl Debug for ScreenerQuery
Source§impl PartialEq for ScreenerQuery
impl PartialEq for ScreenerQuery
impl StructuralPartialEq for ScreenerQuery
Auto Trait Implementations§
impl Freeze for ScreenerQuery
impl RefUnwindSafe for ScreenerQuery
impl Send for ScreenerQuery
impl Sync for ScreenerQuery
impl Unpin for ScreenerQuery
impl UnsafeUnpin for ScreenerQuery
impl UnwindSafe for ScreenerQuery
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more