Skip to main content
pub struct RecordRetrieverOptions 
    pub options: HashMap<String, String>,

Options for the RecordRetriever.

This struct provides configuration options that can be passed to the GetRecords and GetRecordsByColumn calls.

Fields

options: HashMap<String, String>

Options map to pass to retrieval calls

Implementations

Source

pub fn new() -> Self

Creates a new RecordRetrieverOptions with default values.

Source

pub fn set_option( &mut self, key: impl Into<String>, value: impl Into<String>, ) -> &mut Self

Sets an option. Returns self for method chaining.

Source

pub fn set_expression(&mut self, expression: impl Into<String>) -> &mut Self

Sets the expression option. Returns self for method chaining.

Source

pub fn set_fast_index_lookup(&mut self, enabled: bool) -> &mut Self

Sets the fast index lookup option. Returns self for method chaining.

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