[][src]Struct sonic_channel::SuggestCommand

pub struct SuggestCommand<'a> {
    pub collection: &'a str,
    pub bucket: &'a str,
    pub word: &'a str,
    pub limit: Option<usize>,
}

Fields

collection: &'a strbucket: &'a strword: &'a strlimit: Option<usize>

Trait Implementations

impl<'a> Debug for SuggestCommand<'a>[src]

impl<'a> Default for SuggestCommand<'a>[src]

impl<'_> StreamCommand for SuggestCommand<'_>[src]

type Response = Vec<String>

Auto Trait Implementations

impl<'a> RefUnwindSafe for SuggestCommand<'a>

impl<'a> Send for SuggestCommand<'a>

impl<'a> Sync for SuggestCommand<'a>

impl<'a> Unpin for SuggestCommand<'a>

impl<'a> UnwindSafe for SuggestCommand<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.