pub struct GlobalStats {
pub total_visits: u32,
pub total_successes: u32,
pub total_failures: u32,
pub total_discoveries: u32,
pub total_duration: Duration,
pub total_kpi: f64,
pub kpi_count: u32,
}Expand description
グローバル統計
Fields§
§total_visits: u32総訪問回数
total_successes: u32総成功回数
total_failures: u32総失敗回数
total_discoveries: u32総発見数
total_duration: Duration総実行時間
total_kpi: f64KPI貢献度の累計
kpi_count: u32KPI貢献度が設定されたイベント数
Implementations§
Source§impl GlobalStats
impl GlobalStats
Sourcepub fn success_rate(&self) -> f64
pub fn success_rate(&self) -> f64
成功率(訪問なしの場合は 1.0)
Sourcepub fn failure_rate(&self) -> f64
pub fn failure_rate(&self) -> f64
失敗率(訪問なしの場合は 0.0)
Trait Implementations§
Source§impl Clone for GlobalStats
impl Clone for GlobalStats
Source§fn clone(&self) -> GlobalStats
fn clone(&self) -> GlobalStats
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 GlobalStats
impl Debug for GlobalStats
Source§impl Default for GlobalStats
impl Default for GlobalStats
Source§fn default() -> GlobalStats
fn default() -> GlobalStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GlobalStats
impl RefUnwindSafe for GlobalStats
impl Send for GlobalStats
impl Sync for GlobalStats
impl Unpin for GlobalStats
impl UnwindSafe for GlobalStats
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
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 more