pub struct AdminAnalyticsSnapshot {Show 34 fields
pub total_users: i64,
pub verified_users: i64,
pub auth_providers: Vec<(Option<String>, i64)>,
pub new_users_7d: i64,
pub new_users_30d: i64,
pub total_orgs: i64,
pub plan_distribution: Vec<(String, i64)>,
pub active_subs: i64,
pub trial_orgs: i64,
pub total_requests: Option<i64>,
pub total_storage: Option<i64>,
pub total_ai_tokens: Option<i64>,
pub top_orgs: Vec<(Uuid, String, String, i64, i64)>,
pub hosted_mocks_count: i64,
pub hosted_mocks_orgs: i64,
pub hosted_mocks_30d: i64,
pub plugins_count: i64,
pub plugins_orgs: i64,
pub plugins_30d: i64,
pub templates_count: i64,
pub templates_orgs: i64,
pub templates_30d: i64,
pub scenarios_count: i64,
pub scenarios_orgs: i64,
pub scenarios_30d: i64,
pub api_tokens_count: i64,
pub api_tokens_orgs: i64,
pub api_tokens_30d: i64,
pub user_growth_30d: Vec<(NaiveDate, i64)>,
pub org_growth_30d: Vec<(NaiveDate, i64)>,
pub logins_24h: i64,
pub logins_7d: i64,
pub api_requests_24h: i64,
pub api_requests_7d: i64,
}Expand description
Aggregated admin analytics data, corresponding to a single dashboard load.
Fields§
§total_users: i64§verified_users: i64§auth_providers: Vec<(Option<String>, i64)>§new_users_7d: i64§new_users_30d: i64§total_orgs: i64§plan_distribution: Vec<(String, i64)>§active_subs: i64§trial_orgs: i64§total_requests: Option<i64>§total_storage: Option<i64>§total_ai_tokens: Option<i64>§top_orgs: Vec<(Uuid, String, String, i64, i64)>§hosted_mocks_count: i64§hosted_mocks_orgs: i64§hosted_mocks_30d: i64§plugins_count: i64§plugins_orgs: i64§plugins_30d: i64§templates_count: i64§templates_orgs: i64§templates_30d: i64§scenarios_count: i64§scenarios_orgs: i64§scenarios_30d: i64§api_tokens_count: i64§api_tokens_orgs: i64§api_tokens_30d: i64§user_growth_30d: Vec<(NaiveDate, i64)>§org_growth_30d: Vec<(NaiveDate, i64)>§logins_24h: i64§logins_7d: i64§api_requests_24h: i64§api_requests_7d: i64Trait Implementations§
Source§impl Clone for AdminAnalyticsSnapshot
impl Clone for AdminAnalyticsSnapshot
Source§fn clone(&self) -> AdminAnalyticsSnapshot
fn clone(&self) -> AdminAnalyticsSnapshot
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 moreAuto Trait Implementations§
impl Freeze for AdminAnalyticsSnapshot
impl RefUnwindSafe for AdminAnalyticsSnapshot
impl Send for AdminAnalyticsSnapshot
impl Sync for AdminAnalyticsSnapshot
impl Unpin for AdminAnalyticsSnapshot
impl UnsafeUnpin for AdminAnalyticsSnapshot
impl UnwindSafe for AdminAnalyticsSnapshot
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.