pub struct GraphStats {
pub triple_count: usize,
pub subject_count: usize,
pub predicate_count: usize,
pub object_count: usize,
pub storage_bytes: usize,
}Expand description
Provides statistics about the contents and size of the graph.
Fields§
§triple_count: usizeThe total number of triples in the graph.
subject_count: usizeThe number of unique subjects.
predicate_count: usizeThe number of unique predicates.
object_count: usizeThe number of unique objects.
storage_bytes: usizeThe approximate size of the database on disk in bytes.
Trait Implementations§
Source§impl Clone for GraphStats
impl Clone for GraphStats
Source§fn clone(&self) -> GraphStats
fn clone(&self) -> GraphStats
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 GraphStats
impl Debug for GraphStats
Source§impl Default for GraphStats
impl Default for GraphStats
Source§fn default() -> GraphStats
fn default() -> GraphStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GraphStats
impl RefUnwindSafe for GraphStats
impl Send for GraphStats
impl Sync for GraphStats
impl Unpin for GraphStats
impl UnsafeUnpin for GraphStats
impl UnwindSafe for GraphStats
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