pub struct PivotTable { /* private fields */ }Expand description
PivotTable component for data aggregation
Implementations§
Source§impl PivotTable
impl PivotTable
Sourcepub fn with_config(self, config: PivotConfig) -> Self
pub fn with_config(self, config: PivotConfig) -> Self
Set pivot configuration
Sourcepub fn aggregate_by(self, functions: &[&str]) -> Self
pub fn aggregate_by(self, functions: &[&str]) -> Self
Add aggregation
Trait Implementations§
Source§impl Clone for PivotTable
impl Clone for PivotTable
Source§fn clone(&self) -> PivotTable
fn clone(&self) -> PivotTable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl DashboardComponent for PivotTable
impl DashboardComponent for PivotTable
Source§fn render(
&self,
_page: &mut Page,
position: ComponentPosition,
_theme: &DashboardTheme,
) -> Result<(), PdfError>
fn render( &self, _page: &mut Page, position: ComponentPosition, _theme: &DashboardTheme, ) -> Result<(), PdfError>
Render the component to a PDF page at the specified position
Source§fn get_span(&self) -> ComponentSpan
fn get_span(&self) -> ComponentSpan
Get the column span for this component (1-12)
Source§fn set_span(&mut self, span: ComponentSpan)
fn set_span(&mut self, span: ComponentSpan)
Set the column span for this component
Source§fn preferred_height(&self, _available_width: f64) -> f64
fn preferred_height(&self, _available_width: f64) -> f64
Get the preferred height for this component in points
Source§fn component_type(&self) -> &'static str
fn component_type(&self) -> &'static str
Get component type name for debugging
Source§fn complexity_score(&self) -> u8
fn complexity_score(&self) -> u8
Get complexity score (0-100)
Source§fn minimum_width(&self) -> f64
fn minimum_width(&self) -> f64
Get the minimum width required for this component
Source§fn estimated_render_time_ms(&self) -> u32
fn estimated_render_time_ms(&self) -> u32
Estimate rendering time in milliseconds
Source§fn estimated_memory_mb(&self) -> f64
fn estimated_memory_mb(&self) -> f64
Estimate memory usage in MB
Auto Trait Implementations§
impl Freeze for PivotTable
impl RefUnwindSafe for PivotTable
impl Send for PivotTable
impl Sync for PivotTable
impl Unpin for PivotTable
impl UnwindSafe for PivotTable
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