Struct rustis::commands::XClaimOptions
source · pub struct XClaimOptions { /* private fields */ }Expand description
Options for the xclaim command
Implementations§
source§impl XClaimOptions
impl XClaimOptions
sourcepub fn idle_time(self, idle_time_millis: u64) -> Self
pub fn idle_time(self, idle_time_millis: u64) -> Self
Set the idle time (last time it was delivered) of the message.
sourcepub fn time(self, unix_time_milliseconds: u64) -> Self
pub fn time(self, unix_time_milliseconds: u64) -> Self
This is the same as idle_time but instead of a relative amount of milliseconds,
it sets the idle time to a specific Unix time (in milliseconds).
sourcepub fn retry_count(self, count: usize) -> Self
pub fn retry_count(self, count: usize) -> Self
Set the retry counter to the specified value.
Trait Implementations§
source§impl Default for XClaimOptions
impl Default for XClaimOptions
source§fn default() -> XClaimOptions
fn default() -> XClaimOptions
Returns the “default value” for a type. Read more