pub struct AttributeSummary {
pub nodes_with_attributes: usize,
pub edges_with_attributes: usize,
pub unique_node_attribute_keys: usize,
pub unique_edge_attribute_keys: usize,
pub graph_attribute_keys: usize,
pub node_attribute_keys: Vec<String>,
pub edge_attribute_keys: Vec<String>,
}
Expand description
Summary information about attributes in a graph
Fields§
§nodes_with_attributes: usize
Number of nodes that have attributes
edges_with_attributes: usize
Number of edges that have attributes
unique_node_attribute_keys: usize
Number of unique node attribute keys
unique_edge_attribute_keys: usize
Number of unique edge attribute keys
graph_attribute_keys: usize
Number of graph-level attribute keys
node_attribute_keys: Vec<String>
List of all node attribute keys
edge_attribute_keys: Vec<String>
List of all edge attribute keys
Trait Implementations§
Source§impl Clone for AttributeSummary
impl Clone for AttributeSummary
Source§fn clone(&self) -> AttributeSummary
fn clone(&self) -> AttributeSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AttributeSummary
impl RefUnwindSafe for AttributeSummary
impl Send for AttributeSummary
impl Sync for AttributeSummary
impl Unpin for AttributeSummary
impl UnwindSafe for AttributeSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more