pub struct SearchFragment {
pub field: String,
pub text: String,
pub start: u32,
pub end: u32,
pub offset_encoding: FragmentOffsetEncoding,
pub rank: u32,
pub match_count: u32,
pub truncated: bool,
pub partial: bool,
}Fields§
§field: String§text: String§start: u32§end: u32§offset_encoding: FragmentOffsetEncoding§rank: u32§match_count: u32§truncated: bool§partial: boolTrait Implementations§
Source§impl Clone for SearchFragment
impl Clone for SearchFragment
Source§impl Debug for SearchFragment
impl Debug for SearchFragment
Source§impl<'de> Deserialize<'de> for SearchFragment
impl<'de> Deserialize<'de> for SearchFragment
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 SearchFragment
impl PartialEq for SearchFragment
Source§impl Serialize for SearchFragment
impl Serialize for SearchFragment
impl StructuralPartialEq for SearchFragment
Auto Trait Implementations§
impl Freeze for SearchFragment
impl RefUnwindSafe for SearchFragment
impl Send for SearchFragment
impl Sync for SearchFragment
impl Unpin for SearchFragment
impl UnsafeUnpin for SearchFragment
impl UnwindSafe for SearchFragment
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