pub struct Group {
pub expression: String,
pub descending: bool,
pub header: Option<Band>,
pub footer: Option<Band>,
pub repeat_header: bool,
pub page_break_before: bool,
}Expand description
A grouping level with its header and footer.
Fields§
§expression: StringRows with the same value of this expression form a group.
descending: boolGroups in descending order.
header: Option<Band>Printed before each group.
Printed after each group; aggregates in it cover the group.
repeat_header: boolPrints the header again at the top of each page the group continues on.
page_break_before: boolStarts each group (after the first) on a new page.
Implementations§
Source§impl Group
impl Group
Sets the footer.
Sourcepub fn repeat_header(self) -> Self
pub fn repeat_header(self) -> Self
Repeats the header on every page the group continues on.
Sourcepub fn page_break_before(self) -> Self
pub fn page_break_before(self) -> Self
Starts each group on a new page.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Group
impl<'de> Deserialize<'de> for Group
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
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnsafeUnpin for Group
impl UnwindSafe for Group
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