#[non_exhaustive]pub struct LearningEntry {Show 18 fields
pub candidate_id: String,
pub memory_key: String,
pub memory_type: String,
pub proposed_value: Value,
pub supporter_count: Integer,
pub supporter_sessions: Integer,
pub supporter_writers: Integer,
pub confidence_avg: f64,
pub supporters: Vec<String>,
pub rationale: String,
pub source_kind: String,
pub source_resource_id: String,
pub agent: String,
pub status: LearningEntryStatus,
pub proposed_at: String,
pub decided_at: Option<String>,
pub decided_by: String,
pub decision_reason: String,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.candidate_id: String§memory_key: String§memory_type: String§proposed_value: Value§supporter_count: Integer§supporter_sessions: Integer§supporter_writers: Integer§confidence_avg: f64§supporters: Vec<String>§rationale: String§source_kind: String§source_resource_id: String§agent: String§status: LearningEntryStatus§proposed_at: String§decided_at: Option<String>§decided_by: String§decision_reason: StringTrait Implementations§
Source§impl Clone for LearningEntry
impl Clone for LearningEntry
Source§impl Debug for LearningEntry
impl Debug for LearningEntry
Source§impl<'de> Deserialize<'de> for LearningEntry
impl<'de> Deserialize<'de> for LearningEntry
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
Source§impl PartialEq for LearningEntry
impl PartialEq for LearningEntry
Source§impl Serialize for LearningEntry
impl Serialize for LearningEntry
impl StructuralPartialEq for LearningEntry
Auto Trait Implementations§
impl Forget for LearningEntry
impl Freeze for LearningEntry
impl Move for LearningEntry
impl RefUnwindSafe for LearningEntry
impl Send for LearningEntry
impl Sync for LearningEntry
impl Unpin for LearningEntry
impl UnsafeUnpin for LearningEntry
impl UnwindSafe for LearningEntry
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