pub struct SessionSearchHit {
pub session: SessionSearchSummary,
pub run_id: Option<RunId>,
pub source: SessionSearchSource,
pub location: SessionSearchLocation,
pub snippet: Option<SessionSearchSnippet>,
pub score: Option<f64>,
pub matched_at: Option<DateTime<Utc>>,
}Expand description
One discovery hit.
Fields§
§session: SessionSearchSummaryMinimal canonical session projection.
run_id: Option<RunId>Matching run, always interpreted together with the session id.
source: SessionSearchSourceMatching projection family.
location: SessionSearchLocationStable match provenance.
snippet: Option<SessionSearchSnippet>Optional bounded plain-text snippet.
score: Option<f64>Provider-local relevance score.
matched_at: Option<DateTime<Utc>>Source timestamp when meaningful.
Trait Implementations§
Source§impl Clone for SessionSearchHit
impl Clone for SessionSearchHit
Source§fn clone(&self) -> SessionSearchHit
fn clone(&self) -> SessionSearchHit
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 SessionSearchHit
impl Debug for SessionSearchHit
Source§impl<'de> Deserialize<'de> for SessionSearchHit
impl<'de> Deserialize<'de> for SessionSearchHit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SessionSearchHit
impl PartialEq for SessionSearchHit
Source§impl Serialize for SessionSearchHit
impl Serialize 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