pub struct ReadStream<'s, S>where
&'s S: ToRedisArgs,{
pub id: &'s S,
pub offset: MessageId,
}Fields§
§id: &'s S§offset: MessageIdTrait Implementations§
Source§impl<'s, S: Clone> Clone for ReadStream<'s, S>where
&'s S: ToRedisArgs,
impl<'s, S: Clone> Clone for ReadStream<'s, S>where
&'s S: ToRedisArgs,
Source§fn clone(&self) -> ReadStream<'s, S>
fn clone(&self) -> ReadStream<'s, S>
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<'s, S> Freeze for ReadStream<'s, S>
impl<'s, S> RefUnwindSafe for ReadStream<'s, S>
impl<'s, S> Send for ReadStream<'s, S>
impl<'s, S> Sync for ReadStream<'s, S>
impl<'s, S> Unpin for ReadStream<'s, S>
impl<'s, S> UnwindSafe for ReadStream<'s, S>
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