pub struct Suggestion {
pub title: String,
pub detail: Option<String>,
}Expand description
A suggestion of a SearchInput: what it says, and a second line in the
secondary style (a file’s folder, an author’s email).
Fields§
§title: String§detail: Option<String>Trait Implementations§
Source§impl Clone for Suggestion
impl Clone for Suggestion
Source§impl Debug for Suggestion
impl Debug for Suggestion
Source§impl PartialEq for Suggestion
impl PartialEq for Suggestion
impl StructuralPartialEq for Suggestion
Auto Trait Implementations§
impl Forget for Suggestion
impl Freeze for Suggestion
impl Move for Suggestion
impl RefUnwindSafe for Suggestion
impl Send for Suggestionwhere
RawVecInner: Send,
impl Sync for Suggestionwhere
RawVecInner: Sync,
impl Unpin for Suggestion
impl UnsafeUnpin for Suggestion
impl UnwindSafe for Suggestionwhere
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