pub struct WorkspaceSummary {
pub name: String,
pub members: Vec<VaultSummary>,
pub cross_links: Vec<CrossLink>,
pub cross_links_total: 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.
Trait Implementations§
Source§impl Clone for WorkspaceSummary
impl Clone for WorkspaceSummary
Source§fn clone(&self) -> WorkspaceSummary
fn clone(&self) -> WorkspaceSummary
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 WorkspaceSummary
impl Debug for WorkspaceSummary
Source§impl Default for WorkspaceSummary
impl Default for WorkspaceSummary
Source§fn default() -> WorkspaceSummary
fn default() -> WorkspaceSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkspaceSummary
impl RefUnwindSafe for WorkspaceSummary
impl Send for WorkspaceSummary
impl Sync for WorkspaceSummary
impl Unpin for WorkspaceSummary
impl UnsafeUnpin for WorkspaceSummary
impl UnwindSafe for WorkspaceSummary
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