pub enum FtIndexDataType {
Hash,
Json,
}
Available on crate feature
redis-search
only.Expand description
Redis Data type of an index defined in FtCreateOptions
struct
Variants§
Trait Implementations§
Source§impl Debug for FtIndexDataType
impl Debug for FtIndexDataType
Source§impl<'de> Deserialize<'de> for FtIndexDataType
impl<'de> Deserialize<'de> for FtIndexDataType
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
Source§impl ToArgs for FtIndexDataType
impl ToArgs for FtIndexDataType
Source§fn write_args(&self, args: &mut CommandArgs)
fn write_args(&self, args: &mut CommandArgs)
Write this Rust type as one ore multiple args into CommandArgs. Read more
Auto Trait Implementations§
impl Freeze for FtIndexDataType
impl RefUnwindSafe for FtIndexDataType
impl Send for FtIndexDataType
impl Sync for FtIndexDataType
impl Unpin for FtIndexDataType
impl UnwindSafe for FtIndexDataType
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