Struct initiative_core::app::AutocompleteSuggestion
source · pub struct AutocompleteSuggestion {
pub term: Cow<'static, str>,
pub summary: Cow<'static, str>,
}
Fields§
§term: Cow<'static, str>
§summary: Cow<'static, str>
Implementations§
Trait Implementations§
source§impl Clone for AutocompleteSuggestion
impl Clone for AutocompleteSuggestion
source§fn clone(&self) -> AutocompleteSuggestion
fn clone(&self) -> AutocompleteSuggestion
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 AutocompleteSuggestion
impl Debug for AutocompleteSuggestion
source§impl From<AutocompleteSuggestion> for (Cow<'static, str>, Cow<'static, str>)
impl From<AutocompleteSuggestion> for (Cow<'static, str>, Cow<'static, str>)
source§fn from(input: AutocompleteSuggestion) -> Self
fn from(input: AutocompleteSuggestion) -> Self
Converts to this type from the input type.
source§impl Hash for AutocompleteSuggestion
impl Hash for AutocompleteSuggestion
source§impl PartialEq for AutocompleteSuggestion
impl PartialEq for AutocompleteSuggestion
source§fn eq(&self, other: &AutocompleteSuggestion) -> bool
fn eq(&self, other: &AutocompleteSuggestion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AutocompleteSuggestion
impl Serialize for AutocompleteSuggestion
impl Eq for AutocompleteSuggestion
impl StructuralPartialEq for AutocompleteSuggestion
Auto Trait Implementations§
impl Freeze for AutocompleteSuggestion
impl RefUnwindSafe for AutocompleteSuggestion
impl Send for AutocompleteSuggestion
impl Sync for AutocompleteSuggestion
impl Unpin for AutocompleteSuggestion
impl UnwindSafe for AutocompleteSuggestion
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)