Skip to main content
pub struct GetRecordsRequestOptions 
    pub expression: String,
    pub fast_index_lookup: String,
    pub sort_by: String,
    pub sort_order: String,

Optional parameters for the /get/records endpoint.

Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.

Fields

expression: String

Filter expression to apply to the table.

fast_index_lookup: String

Indicates if indexes should be used to perform the lookup for a given expression if possible. Only applicable if there is no sorting, the expression contains only equivalence comparisons based on existing tables indexes and the range of requested values is from [0 to END_OF_SET]. Server default: true.

sort_by: String

Column that the data should be sorted by. Empty by default (i.e. no sorting is applied).

sort_order: String

String indicating how the returned values should be sorted - ascending or descending. If sort_order is provided, sort_by has to be provided. Server default: ascending.

Implementations

Converts the set (non-empty) options into the wire-format string map.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more