pub struct ProviderSummary {
pub type_name: &'static str,
pub scope: ProviderScope,
}Expand description
A lightweight (name, scope) view of a registered provider, suitable
for serialization. Returned by ProviderRegistry::provider_summaries.
Fields§
§type_name: &'static str§scope: ProviderScopeTrait Implementations§
Source§impl Clone for ProviderSummary
impl Clone for ProviderSummary
impl Copy for ProviderSummary
Source§impl Debug for ProviderSummary
impl Debug for ProviderSummary
impl Eq for ProviderSummary
Source§impl PartialEq for ProviderSummary
impl PartialEq for ProviderSummary
impl StructuralPartialEq for ProviderSummary
Auto Trait Implementations§
impl Freeze for ProviderSummary
impl RefUnwindSafe for ProviderSummary
impl Send for ProviderSummary
impl Sync for ProviderSummary
impl Unpin for ProviderSummary
impl UnsafeUnpin for ProviderSummary
impl UnwindSafe for ProviderSummary
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