pub struct AutocompleteMetadata {
pub id: u64,
pub normalized_term: NormalizedTermValue,
pub url: Option<String>,
pub original_term: String,
}Expand description
Metadata associated with each autocomplete term
Fields§
§id: u64§normalized_term: NormalizedTermValue§url: Option<String>§original_term: StringTrait Implementations§
Source§impl Clone for AutocompleteMetadata
impl Clone for AutocompleteMetadata
Source§fn clone(&self) -> AutocompleteMetadata
fn clone(&self) -> AutocompleteMetadata
Returns a duplicate 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 AutocompleteMetadata
impl Debug for AutocompleteMetadata
Source§impl<'de> Deserialize<'de> for AutocompleteMetadata
impl<'de> Deserialize<'de> for AutocompleteMetadata
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
Auto Trait Implementations§
impl Freeze for AutocompleteMetadata
impl RefUnwindSafe for AutocompleteMetadata
impl Send for AutocompleteMetadata
impl Sync for AutocompleteMetadata
impl Unpin for AutocompleteMetadata
impl UnsafeUnpin for AutocompleteMetadata
impl UnwindSafe for AutocompleteMetadata
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