pub struct FindValueParams {Show 16 fields
pub workbook_or_fork_id: WorkbookId,
pub query: String,
pub label: Option<String>,
pub mode: Option<FindMode>,
pub match_mode: Option<MatchMode>,
pub case_sensitive: bool,
pub sheet_name: Option<String>,
pub region_id: Option<u32>,
pub table_name: Option<String>,
pub value_types: Option<Vec<ValueTypeFilter>>,
pub search_headers_only: bool,
pub direction: Option<LabelDirection>,
pub limit: u32,
pub offset: Option<u32>,
pub context: Option<FindContext>,
pub context_width: Option<u32>,
}Fields§
§workbook_or_fork_id: WorkbookIdWorkbook ID or fork ID
query: StringValue or pattern to search for
label: Option<String>For label mode: find cells near this label text
mode: Option<FindMode>Search mode: “value” (default) or “label” for key-value lookups
match_mode: Option<MatchMode>Match mode for text comparison
case_sensitive: boolCase-sensitive matching (default: false)
sheet_name: Option<String>Limit search to specific sheet
region_id: Option<u32>Limit search to specific detected region
table_name: Option<String>Limit search to specific named table
value_types: Option<Vec<ValueTypeFilter>>Filter by value types
search_headers_only: boolOnly search in header rows (default: false)
direction: Option<LabelDirection>For label mode: direction to look for value
limit: u32Maximum matches to return (default: 50)
offset: Option<u32>Offset for pagination
context: Option<FindContext>Context to include with matches
context_width: Option<u32>Number of cells in each direction for context (default: 3)
Trait Implementations§
Source§impl Debug for FindValueParams
impl Debug for FindValueParams
Source§impl Default for FindValueParams
impl Default for FindValueParams
Source§impl<'de> Deserialize<'de> for FindValueParams
impl<'de> Deserialize<'de> for FindValueParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for FindValueParams
impl JsonSchema for FindValueParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for FindValueParams
impl RefUnwindSafe for FindValueParams
impl Send for FindValueParams
impl Sync for FindValueParams
impl Unpin for FindValueParams
impl UnwindSafe for FindValueParams
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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