pub struct PluginAnalytics {
pub total_plugins: usize,
pub active_plugins: usize,
pub dead_plugins: Vec<String>,
pub plugins: Vec<PluginUsage>,
pub top_by_usage: Vec<PluginUsage>,
pub top_by_cost: Vec<PluginUsage>,
pub computed_at: DateTime<Utc>,
}Expand description
Complete plugin analytics data
Fields§
§total_plugins: usizeTotal plugin count (active + dead)
active_plugins: usizeActive plugin count (used at least once)
dead_plugins: Vec<String>Dead plugins (defined but never used)
plugins: Vec<PluginUsage>All plugin usage records
top_by_usage: Vec<PluginUsage>Top 10 by usage
top_by_cost: Vec<PluginUsage>Top 10 by cost
computed_at: DateTime<Utc>Timestamp of computation
Implementations§
Trait Implementations§
Source§impl Clone for PluginAnalytics
impl Clone for PluginAnalytics
Source§fn clone(&self) -> PluginAnalytics
fn clone(&self) -> PluginAnalytics
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 PluginAnalytics
impl Debug for PluginAnalytics
Source§impl<'de> Deserialize<'de> for PluginAnalytics
impl<'de> Deserialize<'de> for PluginAnalytics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PluginAnalytics
impl RefUnwindSafe for PluginAnalytics
impl Send for PluginAnalytics
impl Sync for PluginAnalytics
impl Unpin for PluginAnalytics
impl UnsafeUnpin for PluginAnalytics
impl UnwindSafe for PluginAnalytics
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