pub struct SelectionStat {
pub repository_id: i64,
pub file: String,
pub name: String,
pub selections: i64,
pub last_selected_at: i64,
}Expand description
A learned selection signal for ranking: how often a (file, name) was
chosen for a query, and when it was last chosen.
Fields§
§repository_id: i64§file: String§name: String§selections: i64§last_selected_at: i64Trait Implementations§
Source§impl Clone for SelectionStat
impl Clone for SelectionStat
Source§fn clone(&self) -> SelectionStat
fn clone(&self) -> SelectionStat
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 SelectionStat
impl Debug for SelectionStat
impl Eq for SelectionStat
Source§impl PartialEq for SelectionStat
impl PartialEq for SelectionStat
impl StructuralPartialEq for SelectionStat
Auto Trait Implementations§
impl Freeze for SelectionStat
impl RefUnwindSafe for SelectionStat
impl Send for SelectionStat
impl Sync for SelectionStat
impl Unpin for SelectionStat
impl UnsafeUnpin for SelectionStat
impl UnwindSafe for SelectionStat
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