pub struct GrepResponse {
pub namespace_id: NamespaceId,
pub head_seq: ChangeSeq,
pub built_through_seq: ChangeSeq,
pub tail_scanned: bool,
pub matches: Vec<GrepMatch>,
pub next_cursor: Option<String>,
}Expand description
One content-search page.
Fields§
§namespace_id: NamespaceIdNamespace searched.
head_seq: ChangeSeqThe namespace head sequence used to evaluate this page.
built_through_seq: ChangeSeqCommits at or below this sequence were answered from the index.
tail_scanned: boolWhether revisions after built_through_seq were scanned exhaustively.
matches: Vec<GrepMatch>The matches in ascending (inode_id, byte_offset) order.
next_cursor: Option<String>Present when another page follows.
Trait Implementations§
Source§impl Clone for GrepResponse
impl Clone for GrepResponse
Source§impl Debug for GrepResponse
impl Debug for GrepResponse
Source§impl<'de> Deserialize<'de> for GrepResponse
impl<'de> Deserialize<'de> for GrepResponse
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 GrepResponse
Source§impl PartialEq for GrepResponse
impl PartialEq for GrepResponse
Source§impl Serialize for GrepResponse
impl Serialize for GrepResponse
impl StructuralPartialEq for GrepResponse
Auto Trait Implementations§
impl Freeze for GrepResponse
impl RefUnwindSafe for GrepResponse
impl Send for GrepResponse
impl Sync for GrepResponse
impl Unpin for GrepResponse
impl UnsafeUnpin for GrepResponse
impl UnwindSafe for GrepResponse
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