pub struct SearchDoc {
pub id: String,
pub number: Option<u64>,
pub title: String,
pub parent: String,
pub meta: String,
}Expand description
One searchable thing. Dashboards map their items to documents.
Fields§
§id: StringUnique within the index; ties rank by id, numbers compared as numbers.
number: Option<u64>Matched by a numeric query (4958950, #123), such as a work item ID
or a pull request number.
title: String§parent: StringThe parent’s title: makes children findable, below the parent itself.
meta: StringType, state, people, labels.
Implementations§
Trait Implementations§
impl StructuralPartialEq for SearchDoc
Auto Trait Implementations§
impl Forget for SearchDoc
impl Freeze for SearchDoc
impl Move for SearchDoc
impl RefUnwindSafe for SearchDoc
impl Send for SearchDocwhere
RawVecInner: Send,
impl Sync for SearchDocwhere
RawVecInner: Sync,
impl Unpin for SearchDoc
impl UnsafeUnpin for SearchDoc
impl UnwindSafe for SearchDocwhere
RawVecInner: UnwindSafe,
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