Struct distant_protocol::SearchQueryPathMatch
source · pub struct SearchQueryPathMatch {
pub path: PathBuf,
pub submatches: Vec<SearchQuerySubmatch>,
}
Expand description
Represents details for a match on a path
Fields§
§path: PathBuf
Path associated with the match
submatches: Vec<SearchQuerySubmatch>
Collection of matches tied to path
where each submatch’s byte offset is relative to
path
Trait Implementations§
source§impl Clone for SearchQueryPathMatch
impl Clone for SearchQueryPathMatch
source§fn clone(&self) -> SearchQueryPathMatch
fn clone(&self) -> SearchQueryPathMatch
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 SearchQueryPathMatch
impl Debug for SearchQueryPathMatch
source§impl<'de> Deserialize<'de> for SearchQueryPathMatch
impl<'de> Deserialize<'de> for SearchQueryPathMatch
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<SearchQueryPathMatch> for SearchQueryPathMatch
impl PartialEq<SearchQueryPathMatch> for SearchQueryPathMatch
source§fn eq(&self, other: &SearchQueryPathMatch) -> bool
fn eq(&self, other: &SearchQueryPathMatch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SearchQueryPathMatch
impl Serialize for SearchQueryPathMatch
impl Eq for SearchQueryPathMatch
impl StructuralEq for SearchQueryPathMatch
impl StructuralPartialEq for SearchQueryPathMatch
Auto Trait Implementations§
impl RefUnwindSafe for SearchQueryPathMatch
impl Send for SearchQueryPathMatch
impl Sync for SearchQueryPathMatch
impl Unpin for SearchQueryPathMatch
impl UnwindSafe for SearchQueryPathMatch
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