pub struct ReportGroup {
pub name: String,
pub defaults: Style,
pub items: Vec<ReportItem>,
}Expand description
One named container in report:. Holds zero or more items
plus group-level defaults.
Fields§
§name: StringYAML key the group was declared under (e.g.
recall_block). Used as the markdown section heading.
defaults: StyleGroup-level style defaults (from defaults <directives>
lines at the start of the group body). Cascade into every
item in this group.
items: Vec<ReportItem>Items declared in this group, in body declaration order.
Trait Implementations§
Source§impl Clone for ReportGroup
impl Clone for ReportGroup
Source§impl Debug for ReportGroup
impl Debug for ReportGroup
Source§impl Default for ReportGroup
impl Default for ReportGroup
Source§impl<'de> Deserialize<'de> for ReportGroup
impl<'de> Deserialize<'de> for ReportGroup
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 Forget for ReportGroup
impl Freeze for ReportGroupwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SeriesOverride>: Freeze,
PhantomData<Destination>: Freeze,
PhantomData<ReportItem>: Freeze,
impl Move for ReportGroup
impl RefUnwindSafe for ReportGroup
impl Send for ReportGroupwhere
RawVecInner: Send,
impl Sync for ReportGroupwhere
RawVecInner: Sync,
impl Unpin for ReportGroup
impl UnsafeUnpin for ReportGroupwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SeriesOverride>: UnsafeUnpin,
PhantomData<Destination>: UnsafeUnpin,
PhantomData<ReportItem>: UnsafeUnpin,
impl UnwindSafe for ReportGroupwhere
RawVecInner: UnwindSafe,
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