#[non_exhaustive]pub struct HScanResult<F: DeserializeOwned, V: DeserializeOwned> {
pub cursor: u64,
pub elements: Vec<(F, V)>,
}Expand description
Result for the hscan command.
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.cursor: u64§elements: Vec<(F, V)>Trait Implementations§
Source§impl<F: Debug + DeserializeOwned, V: Debug + DeserializeOwned> Debug for HScanResult<F, V>
impl<F: Debug + DeserializeOwned, V: Debug + DeserializeOwned> Debug for HScanResult<F, V>
Source§impl<'de, F: DeserializeOwned, V: DeserializeOwned> Deserialize<'de> for HScanResult<F, V>
impl<'de, F: DeserializeOwned, V: DeserializeOwned> Deserialize<'de> for HScanResult<F, V>
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<F, V> Freeze for HScanResult<F, V>
impl<F, V> RefUnwindSafe for HScanResult<F, V>
impl<F, V> Send for HScanResult<F, V>
impl<F, V> Sync for HScanResult<F, V>
impl<F, V> Unpin for HScanResult<F, V>
impl<F, V> UnsafeUnpin for HScanResult<F, V>
impl<F, V> UnwindSafe for HScanResult<F, V>
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