pub struct PluginMetadata { /* private fields */ }Expand description
Consistent metadata snapshot from one registry entry.
Implementations§
Source§impl PluginMetadata
impl PluginMetadata
Sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Human-readable description.
Human-readable author or owner.
Sourcepub const fn category(&self) -> PluginCategory
pub const fn category(&self) -> PluginCategory
Informational category.
Sourcepub fn api_version(&self) -> &str
pub fn api_version(&self) -> &str
Targeted plugin API line.
Sourcepub const fn execution_count(&self) -> u64
pub const fn execution_count(&self) -> u64
Invocation attempts that reached execution policy.
Sourcepub const fn success_count(&self) -> u64
pub const fn success_count(&self) -> u64
Cleanly completed invocations.
Sourcepub const fn error_count(&self) -> u64
pub const fn error_count(&self) -> u64
Failed, timed-out, cancelled, or panicked invocations.
Trait Implementations§
Source§impl Clone for PluginMetadata
impl Clone for PluginMetadata
Source§fn clone(&self) -> PluginMetadata
fn clone(&self) -> PluginMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginMetadata
impl Debug for PluginMetadata
impl Eq for PluginMetadata
Source§impl PartialEq for PluginMetadata
impl PartialEq for PluginMetadata
Source§impl Serialize for PluginMetadata
impl Serialize for PluginMetadata
impl StructuralPartialEq for PluginMetadata
Auto Trait Implementations§
impl Freeze for PluginMetadata
impl RefUnwindSafe for PluginMetadata
impl Send for PluginMetadata
impl Sync for PluginMetadata
impl Unpin for PluginMetadata
impl UnsafeUnpin for PluginMetadata
impl UnwindSafe for PluginMetadata
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more