pub struct SearchResult {
pub session: String,
pub id: String,
pub tags: Vec<String>,
pub started_at: f64,
pub matches: Vec<SearchMatch>,
pub name_matched: bool,
pub tag_matched: bool,
}Expand description
Search results for a single session.
Fields§
§session: StringSession name
id: StringSession ID
Session tags
started_at: f64Session start time
matches: Vec<SearchMatch>Matched commands
name_matched: boolWhether the session name matched
tag_matched: boolWhether any tag matched
Trait 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
Auto Trait Implementations§
impl Freeze for SearchResult
impl RefUnwindSafe for SearchResult
impl Send for SearchResult
impl Sync for SearchResult
impl Unpin 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