pub struct LayoutPageParams {
pub workbook_or_fork_id: WorkbookId,
pub sheet_name: String,
pub range: Option<String>,
pub mode: Option<LayoutMode>,
pub max_col_width: Option<u32>,
pub fit_columns: Option<bool>,
pub trim_empty_columns: Option<bool>,
pub render: Option<LayoutRender>,
}Fields§
§workbook_or_fork_id: WorkbookIdWorkbook ID or fork ID
sheet_name: StringSheet name
range: Option<String>A1 range to render (e.g., “A1:F40”). Defaults to “A1:T50”. Capped at 80 rows × 25 cols.
mode: Option<LayoutMode>Cell content mode: “values” (default) or “formulas”
max_col_width: Option<u32>Maximum column width in character units before truncating content (default: 20)
fit_columns: Option<bool>Set column widths to the longest rendered value in each column (default: false)
trim_empty_columns: Option<bool>Trim empty edge columns from the rendered range (default: true)
render: Option<LayoutRender>Output format: “json” (default), “ascii”, or “both”
Trait Implementations§
Source§impl Debug for LayoutPageParams
impl Debug for LayoutPageParams
Source§impl<'de> Deserialize<'de> for LayoutPageParams
impl<'de> Deserialize<'de> for LayoutPageParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LayoutPageParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LayoutPageParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for LayoutPageParams
impl JsonSchema for LayoutPageParams
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 LayoutPageParams
impl RefUnwindSafe for LayoutPageParams
impl Send for LayoutPageParams
impl Sync for LayoutPageParams
impl Unpin for LayoutPageParams
impl UnsafeUnpin for LayoutPageParams
impl UnwindSafe for LayoutPageParams
Blanket Implementations§
impl<T> Allocation for T
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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