pub struct MessageScan {
pub begin: Vec<u8>,
pub finish: Vec<u8>,
pub limit: u32,
pub version: Option<u64>,
}
Expand description
Get all keys and values within a range with a limit.
§Fields
begin
- The beginning of the range.finish
- The end of the range.limit
- The limit of the number of keys to return.
Fields§
§begin: Vec<u8>
§finish: Vec<u8>
§limit: u32
§version: Option<u64>
Trait Implementations§
source§impl Clone for MessageScan
impl Clone for MessageScan
source§fn clone(&self) -> MessageScan
fn clone(&self) -> MessageScan
Returns a copy of the value. Read more
1.0.0 · 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 MessageScan
impl Debug for MessageScan
source§impl<'de> Deserialize<'de> for MessageScan
impl<'de> Deserialize<'de> for MessageScan
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 PartialEq for MessageScan
impl PartialEq for MessageScan
source§impl Revisioned for MessageScan
impl Revisioned for MessageScan
source§impl Serialize for MessageScan
impl Serialize for MessageScan
impl StructuralPartialEq for MessageScan
Auto Trait Implementations§
impl Freeze for MessageScan
impl RefUnwindSafe for MessageScan
impl Send for MessageScan
impl Sync for MessageScan
impl Unpin for MessageScan
impl UnwindSafe for MessageScan
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)