Struct distant_protocol::SearchQuerySubmatch
source · pub struct SearchQuerySubmatch {
pub match: SearchQueryMatchData,
pub start: u64,
pub end: u64,
}
Fields§
§match: SearchQueryMatchData
Content matched by query
start: u64
Byte offset representing start of submatch (inclusive)
end: u64
Byte offset representing end of submatch (exclusive)
Implementations§
Trait Implementations§
source§impl Clone for SearchQuerySubmatch
impl Clone for SearchQuerySubmatch
source§fn clone(&self) -> SearchQuerySubmatch
fn clone(&self) -> SearchQuerySubmatch
Returns a copy 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 SearchQuerySubmatch
impl Debug for SearchQuerySubmatch
source§impl<'de> Deserialize<'de> for SearchQuerySubmatch
impl<'de> Deserialize<'de> for SearchQuerySubmatch
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<SearchQuerySubmatch> for SearchQuerySubmatch
impl PartialEq<SearchQuerySubmatch> for SearchQuerySubmatch
source§fn eq(&self, other: &SearchQuerySubmatch) -> bool
fn eq(&self, other: &SearchQuerySubmatch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SearchQuerySubmatch
impl Serialize for SearchQuerySubmatch
impl Eq for SearchQuerySubmatch
impl StructuralEq for SearchQuerySubmatch
impl StructuralPartialEq for SearchQuerySubmatch
Auto Trait Implementations§
impl RefUnwindSafe for SearchQuerySubmatch
impl Send for SearchQuerySubmatch
impl Sync for SearchQuerySubmatch
impl Unpin for SearchQuerySubmatch
impl UnwindSafe for SearchQuerySubmatch
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