Struct redis::streams::StreamPendingData
source · [−]pub struct StreamPendingData {
pub count: usize,
pub start_id: String,
pub end_id: String,
pub consumers: Vec<StreamInfoConsumer>,
}
Expand description
Inner reply type when an xpending
command has data.
Fields
count: usize
Limit on the number of messages to return per call.
start_id: String
ID for the first pending record.
end_id: String
ID for the final pending record.
consumers: Vec<StreamInfoConsumer>
Every consumer in the consumer group with at least one pending message, and the number of pending messages it has.
Trait Implementations
sourceimpl Clone for StreamPendingData
impl Clone for StreamPendingData
sourcefn clone(&self) -> StreamPendingData
fn clone(&self) -> StreamPendingData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StreamPendingData
impl Debug for StreamPendingData
sourceimpl Default for StreamPendingData
impl Default for StreamPendingData
sourcefn default() -> StreamPendingData
fn default() -> StreamPendingData
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for StreamPendingData
impl Send for StreamPendingData
impl Sync for StreamPendingData
impl Unpin for StreamPendingData
impl UnwindSafe for StreamPendingData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more