pub struct SearchResult {Show 15 fields
pub session_key: String,
pub session_id: String,
pub repo: String,
pub kind: EventKind,
pub text: String,
pub snippet: String,
pub score: f64,
pub session_timestamp: String,
pub cwd: String,
pub source_file_path: PathBuf,
pub source_line_number: usize,
pub source_timestamp: Option<String>,
pub session_hit_count: usize,
pub best_kind_weight: u8,
pub repo_matches_current: bool,
}Fields§
§session_key: String§session_id: String§repo: String§kind: EventKind§text: String§snippet: String§score: f64§session_timestamp: String§cwd: String§source_file_path: PathBuf§source_line_number: usize§source_timestamp: Option<String>§session_hit_count: usize§best_kind_weight: u8§repo_matches_current: boolTrait Implementations§
Source§impl Clone for SearchResult
impl Clone for SearchResult
Source§fn clone(&self) -> SearchResult
fn clone(&self) -> SearchResult
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 SearchResult
impl Debug for SearchResult
Source§impl PartialEq for SearchResult
impl PartialEq for SearchResult
impl StructuralPartialEq for SearchResult
Auto Trait Implementations§
impl Freeze for SearchResult
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin for SearchResult
impl UnsafeUnpin for SearchResult
impl UnwindSafe for SearchResult
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