GeezerVison is showing docs.rs — ViewWindow in perspective_python - Rust pub struct ViewWindow {
pub start_row: Option<f64>,
pub start_col: Option<f64>,
pub end_row: Option<f64>,
pub end_col: Option<f64>,
pub id: Option<bool>,
pub index: Option<bool>,
pub formatted: Option<bool>,
pub compression: Option<String>,
pub machine_column_names: Option<bool>,
}
Expand descriptionOptions for serializing a window of data from a View.
Some fields of ViewWindow are only applicable to specific methods of
View.
Fields§§start_row: Option<f64>§start_col: Option<f64>§end_row: Option<f64>§end_col: Option<f64>§id: Option<bool>§index: Option<bool>§formatted: Option<bool>§compression: Option<String>Arrow IPC body compression for View::to_arrow, "lz4" or "zstd"
(uncompressed when omitted).
§machine_column_names: Option<bool>When true, View::to_arrow names group_by key columns
__ROW_PATH_N__ and never qualifies an aggregate, instead of the
human-readable names a key column and its aggregate would otherwise
take.
Trait Implementations§
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
Serialize this value into the given Serde serializer. Read more
If this type does not have generic parameters, then WithoutGenerics should just be Self.
If the type does have generic parameters, then all generic parameters must be replaced with
a dummy type, e.g ts_rs::Dummy or ().
The only requirement for these dummy types is that EXPORT_TO must be None. Read more
If the implementing type is std::option::Option<T>, then this associated type is set to T.
All other implementations of TS should set this type to Self instead.
Identifier of this type, excluding generic parameters.
JSDoc comment to describe this type in TypeScript - when TS is derived, docs are
automatically read from your doc comments or #[doc = ".."] attributes
Name of this type in TypeScript, including generic parameters
Declaration of this type using the supplied generic arguments.
The resulting TypeScript definition will not be generic. For that, see TS::decl().
If this type is not generic, then this function is equivalent to TS::decl().
Declaration of this type, e.g. type User = { user_id: number, ... }.
This function will panic if the type has no declaration. Read more
Formats this types definition in TypeScript, e.g { user_id: number }.
This function will panic if the type cannot be inlined.
Flatten a type declaration.
This function will panic if the type cannot be flattened.
Iterates over all type parameters of this type.
Returns the output path to where T should be exported.
The returned path does not include the base directory from TS_RS_EXPORT_DIR. Read more
Iterates over all dependency of this type.
Resolves all dependencies of this type recursively.
Manually export this type to the filesystem.
To export this type together with all of its dependencies, use TS::export_all. Read more
Manually export this type to the filesystem, together with all of its dependencies.
To export only this type, without its dependencies, use TS::export. Read more
Manually export this type into the given directory, together with all of its dependencies.
To export only this type, without its dependencies, use TS::export. Read more
Manually generate bindings for this type, returning a String.
This function does not format the output, even if the format feature is enabled. Read more
Returns the output path to where T should be exported. Read moreAuto Trait Implementations§Blanket Implementations§
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬This is a nightly-only experimental API. (clone_to_uninit) Performs copy-assignment from self to dest. Read more
Returns the argument unchanged.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
|