pub struct ArrayEntry {
pub index: u64,
pub value: Bytes,
}Expand description
An existing value and its unsigned array index.
Fields§
§index: u64The zero-based array index.
value: BytesThe binary-safe value stored at index.
Trait Implementations§
Source§impl Clone for ArrayEntry
impl Clone for ArrayEntry
Source§fn clone(&self) -> ArrayEntry
fn clone(&self) -> ArrayEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArrayEntry
impl Debug for ArrayEntry
impl Eq for ArrayEntry
Source§impl FromFrame for ArrayEntry
impl FromFrame for ArrayEntry
Source§fn from_frame(frame: Frame) -> Result<ArrayEntry, RedisError>
fn from_frame(frame: Frame) -> Result<ArrayEntry, RedisError>
Decode a response frame into this type. Read more
Source§impl PartialEq for ArrayEntry
impl PartialEq for ArrayEntry
impl StructuralPartialEq for ArrayEntry
Auto Trait Implementations§
impl !Freeze for ArrayEntry
impl RefUnwindSafe for ArrayEntry
impl Send for ArrayEntry
impl Sync for ArrayEntry
impl Unpin for ArrayEntry
impl UnsafeUnpin for ArrayEntry
impl UnwindSafe for ArrayEntry
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