pub struct SalienceEntry {
pub entity_id: String,
pub salience: f64,
pub last_activity: Timestamp,
}Fields§
§entity_id: String§salience: f64§last_activity: TimestampTrait Implementations§
Source§impl Clone for SalienceEntry
impl Clone for SalienceEntry
Source§fn clone(&self) -> SalienceEntry
fn clone(&self) -> SalienceEntry
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 moreSource§impl Debug for SalienceEntry
impl Debug for SalienceEntry
Source§impl<'de> Deserialize<'de> for SalienceEntry
impl<'de> Deserialize<'de> for SalienceEntry
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 SalienceEntry
impl RefUnwindSafe for SalienceEntry
impl Send for SalienceEntry
impl Sync for SalienceEntry
impl Unpin for SalienceEntry
impl UnsafeUnpin for SalienceEntry
impl UnwindSafe for SalienceEntry
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