#[non_exhaustive]pub struct Autocomplete {
pub segment: Option<Segment>,
pub suggestions: Vec<Suggestion>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.segment: Option<Segment>The segment the suggestions complete.
suggestions: Vec<Suggestion>Trait Implementations§
Source§impl Clone for Autocomplete
impl Clone for Autocomplete
Source§impl Debug for Autocomplete
impl Debug for Autocomplete
Source§impl Default for Autocomplete
impl Default for Autocomplete
impl Eq for Autocomplete
Source§impl PartialEq for Autocomplete
impl PartialEq for Autocomplete
impl StructuralPartialEq for Autocomplete
Auto Trait Implementations§
impl Freeze for Autocomplete
impl RefUnwindSafe for Autocomplete
impl Send for Autocomplete
impl Sync for Autocomplete
impl Unpin for Autocomplete
impl UnsafeUnpin for Autocomplete
impl UnwindSafe for Autocomplete
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