pub struct TableProfileParams {
pub workbook_or_fork_id: WorkbookId,
pub sheet_name: Option<String>,
pub region_id: Option<u32>,
pub table_name: Option<String>,
pub sample_mode: Option<SampleMode>,
pub sample_size: Option<u32>,
pub summary_only: Option<bool>,
}Fields§
§workbook_or_fork_id: WorkbookIdWorkbook ID or fork ID
sheet_name: Option<String>Sheet name (uses first sheet if omitted)
region_id: Option<u32>Profile a detected region by ID
table_name: Option<String>Profile a named Excel table
sample_mode: Option<SampleMode>Sampling mode for selecting sample rows
sample_size: Option<u32>Number of sample rows to include (default: 5)
summary_only: Option<bool>Return only column types without samples (default: true in token_dense profile)
Trait Implementations§
Source§impl Debug for TableProfileParams
impl Debug for TableProfileParams
Source§impl Default for TableProfileParams
impl Default for TableProfileParams
Source§fn default() -> TableProfileParams
fn default() -> TableProfileParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TableProfileParams
impl<'de> Deserialize<'de> for TableProfileParams
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 TableProfileParams
impl JsonSchema for TableProfileParams
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 TableProfileParams
impl RefUnwindSafe for TableProfileParams
impl Send for TableProfileParams
impl Sync for TableProfileParams
impl Unpin for TableProfileParams
impl UnwindSafe for TableProfileParams
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