pub struct ContextSearchHit {
pub source: String,
pub item_id: Option<String>,
pub snippet: String,
pub content_blake3: Option<String>,
}Fields§
§source: String§item_id: Option<String>§snippet: String§content_blake3: Option<String>Trait Implementations§
Source§impl Clone for ContextSearchHit
impl Clone for ContextSearchHit
Source§fn clone(&self) -> ContextSearchHit
fn clone(&self) -> ContextSearchHit
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 ContextSearchHit
impl Debug for ContextSearchHit
Source§impl<'de> Deserialize<'de> for ContextSearchHit
impl<'de> Deserialize<'de> for ContextSearchHit
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
impl Eq for ContextSearchHit
Source§impl PartialEq for ContextSearchHit
impl PartialEq for ContextSearchHit
Source§fn eq(&self, other: &ContextSearchHit) -> bool
fn eq(&self, other: &ContextSearchHit) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextSearchHit
impl Serialize for ContextSearchHit
impl StructuralPartialEq for ContextSearchHit
Auto Trait Implementations§
impl Freeze for ContextSearchHit
impl RefUnwindSafe for ContextSearchHit
impl Send for ContextSearchHit
impl Sync for ContextSearchHit
impl Unpin for ContextSearchHit
impl UnsafeUnpin for ContextSearchHit
impl UnwindSafe for ContextSearchHit
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