pub struct SessionSearchHit {
pub id: String,
pub title: String,
pub updated_at: String,
pub project_path: String,
pub hits: usize,
pub snippet: String,
}Expand description
One matching session for a search.
Fields§
§id: String§title: String§updated_at: String§project_path: String§hits: usizeMessages that matched every term.
snippet: StringExcerpt around the first term in one matching message.
Trait Implementations§
Source§impl Clone for SessionSearchHit
impl Clone for SessionSearchHit
Source§impl Debug for SessionSearchHit
impl Debug for SessionSearchHit
Source§impl PartialEq for SessionSearchHit
impl PartialEq for SessionSearchHit
impl StructuralPartialEq for SessionSearchHit
Auto Trait Implementations§
impl Freeze for SessionSearchHit
impl RefUnwindSafe for SessionSearchHit
impl Send for SessionSearchHit
impl Sync for SessionSearchHit
impl Unpin for SessionSearchHit
impl UnsafeUnpin for SessionSearchHit
impl UnwindSafe for SessionSearchHit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more