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§
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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