pub struct LessonMetadata {
pub memory_id: i64,
pub confidence: f64,
pub reinforcement_count: i64,
pub source_evidence: Option<String>,
pub last_reinforced_at_epoch: i64,
pub stale_after_epoch: Option<i64>,
pub outcome_kind: String,
pub success_count: i64,
pub failure_count: i64,
pub recovery_count: i64,
pub correction_count: i64,
pub revert_count: i64,
}Fields§
§memory_id: i64§confidence: f64§reinforcement_count: i64§source_evidence: Option<String>§last_reinforced_at_epoch: i64§stale_after_epoch: Option<i64>§outcome_kind: String§success_count: i64§failure_count: i64§recovery_count: i64§correction_count: i64§revert_count: i64Trait Implementations§
Source§impl Clone for LessonMetadata
impl Clone for LessonMetadata
Source§fn clone(&self) -> LessonMetadata
fn clone(&self) -> LessonMetadata
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 LessonMetadata
impl RefUnwindSafe for LessonMetadata
impl Send for LessonMetadata
impl Sync for LessonMetadata
impl Unpin for LessonMetadata
impl UnsafeUnpin for LessonMetadata
impl UnwindSafe for LessonMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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