pub struct SkillMetricsRow {
pub skill_name: String,
pub version_id: Option<i64>,
pub total: i64,
pub successes: i64,
pub failures: i64,
}Expand description
Per-skill outcome metrics (success/failure counts) returned by SqliteStore::load_skill_outcome_stats.
Fields§
§skill_name: StringThe skill’s unique name.
version_id: Option<i64>The version ID this row refers to, if tracked per-version.
total: i64Total number of recorded outcomes.
successes: i64Number of successful outcomes.
failures: i64Number of failed outcomes.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SkillMetricsRow
impl RefUnwindSafe for SkillMetricsRow
impl Send for SkillMetricsRow
impl Sync for SkillMetricsRow
impl Unpin for SkillMetricsRow
impl UnsafeUnpin for SkillMetricsRow
impl UnwindSafe for SkillMetricsRow
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> 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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request