pub struct CodebaseRelationCount {
pub kind: CodebaseRelationKind,
pub basis: CodebaseRelationBasis,
pub count: usize,
}Expand description
One grouped count inside a machine-to-machine exact relation summary.
Fields§
§kind: CodebaseRelationKindExact relation kind for this grouped count.
basis: CodebaseRelationBasisExact relation basis for this grouped count.
count: usizeNumber of exact relations in this (kind, basis) class.
Implementations§
Source§impl CodebaseRelationCount
impl CodebaseRelationCount
Sourcepub fn display_label(&self) -> String
pub fn display_label(&self) -> String
Human-facing grouped-count label used by machine summary edges.
Trait Implementations§
Source§impl Clone for CodebaseRelationCount
impl Clone for CodebaseRelationCount
Source§fn clone(&self) -> CodebaseRelationCount
fn clone(&self) -> CodebaseRelationCount
Returns a duplicate of the value. Read more
1.0.0 · 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 CodebaseRelationCount
impl Debug for CodebaseRelationCount
Source§impl Ord for CodebaseRelationCount
impl Ord for CodebaseRelationCount
Source§fn cmp(&self, other: &CodebaseRelationCount) -> Ordering
fn cmp(&self, other: &CodebaseRelationCount) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CodebaseRelationCount
impl PartialEq for CodebaseRelationCount
Source§impl PartialOrd for CodebaseRelationCount
impl PartialOrd for CodebaseRelationCount
Source§impl Serialize for CodebaseRelationCount
impl Serialize for CodebaseRelationCount
impl Copy for CodebaseRelationCount
impl Eq for CodebaseRelationCount
impl StructuralPartialEq for CodebaseRelationCount
Auto Trait Implementations§
impl Freeze for CodebaseRelationCount
impl RefUnwindSafe for CodebaseRelationCount
impl Send for CodebaseRelationCount
impl Sync for CodebaseRelationCount
impl Unpin for CodebaseRelationCount
impl UnsafeUnpin for CodebaseRelationCount
impl UnwindSafe for CodebaseRelationCount
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