pub struct WorkspaceSummary {
pub name: String,
pub members: Vec<VaultSummary>,
pub cross_links: Vec<CrossLink>,
pub cross_links_total: usize,
pub cross_links_authored: usize,
}Expand description
Aggregate figures for a workspace vault’s _Home overview: the members,
each with exactly the aggregates a single-project _Home carries, plus the
cross-repo links between them.
Fields§
§name: StringThe workspace name (--workspace-name).
members: Vec<VaultSummary>One entry per member repository, in stable name order. Each is the very
same VaultSummary a per-project vault would render.
cross_links: Vec<CrossLink>Cross-repo links between members, already ordered and capped by the caller.
cross_links_total: usizeCross-repo links found in total, which cross_links may be a capped view
of — so the section can say what it is not showing.
How many of cross_links_total were declared ([[links]]) rather
than inferred.
Counted before the cap, not from cross_links: that vector is truncated
to WORKSPACE_CROSS_LINK_ROWS rows,
so counting it would describe the rows on screen while reading as a
statement about the workspace — a caption that quietly changes meaning
once a workspace grows past the cap.
Trait Implementations§
Source§impl Clone for WorkspaceSummary
impl Clone for WorkspaceSummary
Source§fn clone(&self) -> WorkspaceSummary
fn clone(&self) -> WorkspaceSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more