pub struct TableControlParams {
pub collapsed_depth: Option<String>,
pub commodity_columns: Option<String>,
}Expand description
Query-string fields shared by every report page to drive client-side
table controls. The server only needs to read commodity_columns (which
drives a template pivot) and forward collapsed_depth into the template
for initial fold state; sort_by is consumed purely by the frontend
WASM reorder logic, so the Rust handler does not parse it.
Fields§
§collapsed_depth: Option<String>§commodity_columns: Option<String>Implementations§
Source§impl TableControlParams
impl TableControlParams
pub fn commodity_columns_enabled(&self) -> bool
Trait Implementations§
Source§impl Default for TableControlParams
impl Default for TableControlParams
Source§fn default() -> TableControlParams
fn default() -> TableControlParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TableControlParams
impl<'de> Deserialize<'de> for TableControlParams
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
Auto Trait Implementations§
impl Freeze for TableControlParams
impl RefUnwindSafe for TableControlParams
impl Send for TableControlParams
impl Sync for TableControlParams
impl Unpin for TableControlParams
impl UnsafeUnpin for TableControlParams
impl UnwindSafe for TableControlParams
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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