pub struct WizardOptions {
pub title: String,
pub culture: String,
pub columns: Vec<FieldInfo>,
pub group_by: Option<String>,
pub totals: Vec<String>,
pub page: PageSettings,
pub accent: String,
}Expand description
Options of the wizard.
Fields§
§title: StringThe report title.
culture: StringCulture for formats (pt-BR, en-US).
columns: Vec<FieldInfo>The fields to show, as columns, in order.
group_by: Option<String>Group rows by this field, with a header and subtotals.
totals: Vec<String>Number fields that get totals (group subtotals and a grand total).
page: PageSettingsPaper; landscape when there are many columns.
accent: StringThe accent color of headers.
Trait Implementations§
Source§impl Clone for WizardOptions
impl Clone for WizardOptions
Source§fn clone(&self) -> WizardOptions
fn clone(&self) -> WizardOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WizardOptions
impl Debug for WizardOptions
Auto Trait Implementations§
impl Freeze for WizardOptions
impl RefUnwindSafe for WizardOptions
impl Send for WizardOptions
impl Sync for WizardOptions
impl Unpin for WizardOptions
impl UnsafeUnpin for WizardOptions
impl UnwindSafe for WizardOptions
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