pub struct AdoptionMetrics {
pub rule_id: String,
pub total_members: u32,
pub adopting_members: u32,
pub adoption_percentage: f64,
pub adoption_trend: Vec<(DateTime<Utc>, f64)>,
}Expand description
Adoption metrics for a rule
Fields§
§rule_id: String§total_members: u32§adopting_members: u32§adoption_percentage: f64§adoption_trend: Vec<(DateTime<Utc>, f64)>Trait Implementations§
Source§impl Clone for AdoptionMetrics
impl Clone for AdoptionMetrics
Source§fn clone(&self) -> AdoptionMetrics
fn clone(&self) -> AdoptionMetrics
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 AdoptionMetrics
impl Debug for AdoptionMetrics
Source§impl<'de> Deserialize<'de> for AdoptionMetrics
impl<'de> Deserialize<'de> for AdoptionMetrics
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 AdoptionMetrics
impl RefUnwindSafe for AdoptionMetrics
impl Send for AdoptionMetrics
impl Sync for AdoptionMetrics
impl Unpin for AdoptionMetrics
impl UnwindSafe for AdoptionMetrics
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