Struct rustis::commands::FtSuggestion
source · pub struct FtSuggestion {
pub suggestion: String,
pub score: f64,
pub payload: String,
}
Available on crate feature
redis-search
only.Expand description
Sugestion for the ft_sugget
command.
Fields§
§suggestion: String
§score: f64
§payload: String
Implementations§
source§impl FtSuggestion
impl FtSuggestion
pub fn deserialize<'de, D>(
deserializer: D,
command: Command
) -> Result<Vec<FtSuggestion>, D::Error>where
D: Deserializer<'de>,
Trait Implementations§
source§impl<'de> Deserialize<'de> for FtSuggestion
impl<'de> Deserialize<'de> for FtSuggestion
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 FtSuggestion
impl RefUnwindSafe for FtSuggestion
impl Send for FtSuggestion
impl Sync for FtSuggestion
impl Unpin for FtSuggestion
impl UnwindSafe for FtSuggestion
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