pub struct FeedbackHistoryEntry {
pub signal: FeedbackSignal,
pub timestamp: u64,
pub old_importance: f32,
pub new_importance: f32,
}Expand description
A single recorded feedback event stored in memory metadata (INT-1).
Fields§
§signal: FeedbackSignal§timestamp: u64Unix timestamp (seconds) when feedback was submitted.
old_importance: f32§new_importance: f32Trait Implementations§
Source§impl Clone for FeedbackHistoryEntry
impl Clone for FeedbackHistoryEntry
Source§fn clone(&self) -> FeedbackHistoryEntry
fn clone(&self) -> FeedbackHistoryEntry
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 FeedbackHistoryEntry
impl Debug for FeedbackHistoryEntry
Source§impl<'de> Deserialize<'de> for FeedbackHistoryEntry
impl<'de> Deserialize<'de> for FeedbackHistoryEntry
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
Auto Trait Implementations§
impl Freeze for FeedbackHistoryEntry
impl RefUnwindSafe for FeedbackHistoryEntry
impl Send for FeedbackHistoryEntry
impl Sync for FeedbackHistoryEntry
impl Unpin for FeedbackHistoryEntry
impl UnsafeUnpin for FeedbackHistoryEntry
impl UnwindSafe for FeedbackHistoryEntry
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