pub struct Group {
pub id: GroupId,
pub dir: String,
pub title: String,
pub overview: Option<String>,
pub source: Option<Source>,
pub entities: Vec<StoredEntity>,
pub source_path: PathBuf,
}Expand description
Intra-contract grouping unit (package, tag group, application, etc.).
Fields§
§id: GroupIdStable group key within the contract (GroupId).
dir: StringOutput directory segment for this group under the markdown root.
title: StringHuman-readable group title for package/overview pages.
overview: Option<String>Optional overview prose for the group page.
source: Option<Source>Provenance pointer into the switchback source layer, when available.
entities: Vec<StoredEntity>Entities belonging to this group.
Populated in the serialized switchback; empty on parser-side
Contract views (entities are queried separately).
source_path: PathBufFilesystem path to the contract input used for the package-page path line.
Parser-local provenance only; not serialized on the wire.
Trait Implementations§
impl Eq for Group
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