pub struct CachedPriorityScore {
pub score: f32,
pub calculated_at: DateTime<Utc>,
pub valid_for: Duration,
pub keywords: Vec<String>,
}Expand description
Cached priority score with validity tracking
Fields§
§score: f32Priority score value
calculated_at: DateTime<Utc>When the score was calculated
valid_for: DurationHow long the score remains valid
keywords: Vec<String>Keywords that influenced this score
Implementations§
Trait Implementations§
Source§impl Clone for CachedPriorityScore
impl Clone for CachedPriorityScore
Source§fn clone(&self) -> CachedPriorityScore
fn clone(&self) -> CachedPriorityScore
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 CachedPriorityScore
impl RefUnwindSafe for CachedPriorityScore
impl Send for CachedPriorityScore
impl Sync for CachedPriorityScore
impl Unpin for CachedPriorityScore
impl UnsafeUnpin for CachedPriorityScore
impl UnwindSafe for CachedPriorityScore
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