pub struct RangeOptions { /* private fields */ }Expand description
Set of options that are required by RedisStream::range()
Implementations§
Source§impl RangeOptions
impl RangeOptions
pub fn new( stream: String, count: u16, range: RangeType, ) -> RedisResult<RangeOptions>
Trait Implementations§
Source§impl Clone for RangeOptions
impl Clone for RangeOptions
Source§fn clone(&self) -> RangeOptions
fn clone(&self) -> RangeOptions
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for RangeOptions
impl RefUnwindSafe for RangeOptions
impl Send for RangeOptions
impl Sync for RangeOptions
impl Unpin for RangeOptions
impl UnwindSafe for RangeOptions
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