pub struct GraphMetadata {
pub service_count: usize,
pub trait_count: usize,
pub singleton_count: usize,
pub scoped_count: usize,
pub transient_count: usize,
pub has_circular_dependencies: bool,
pub exported_at: String,
pub version: String,
}Expand description
Metadata about the entire dependency graph.
Fields§
§service_count: usizeTotal number of registered services
trait_count: usizeTotal number of trait registrations
singleton_count: usizeNumber of singleton services
scoped_count: usizeNumber of scoped services
transient_count: usizeNumber of transient services
has_circular_dependencies: boolWhether circular dependencies were detected
exported_at: StringExport timestamp
version: StringExport format version
Trait Implementations§
Source§impl Clone for GraphMetadata
impl Clone for GraphMetadata
Source§fn clone(&self) -> GraphMetadata
fn clone(&self) -> GraphMetadata
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 moreAuto Trait Implementations§
impl Freeze for GraphMetadata
impl RefUnwindSafe for GraphMetadata
impl Send for GraphMetadata
impl Sync for GraphMetadata
impl Unpin for GraphMetadata
impl UnwindSafe for GraphMetadata
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