Struct redis_driver::XTrimOptions
source · pub struct XTrimOptions { /* private fields */ }
Implementations
sourceimpl XTrimOptions
impl XTrimOptions
pub fn max_len(operator: XTrimOperator, threshold: i64) -> Self
pub fn min_id<I: Into<BulkString>>(
operator: XTrimOperator,
threshold_id: I
) -> Self
pub fn limit(self, count: usize) -> Self
Trait Implementations
sourceimpl Default for XTrimOptions
impl Default for XTrimOptions
sourcefn default() -> XTrimOptions
fn default() -> XTrimOptions
Returns the “default value” for a type. Read more
sourceimpl IntoArgs for XTrimOptions
impl IntoArgs for XTrimOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for XTrimOptions
impl Send for XTrimOptions
impl Sync for XTrimOptions
impl Unpin for XTrimOptions
impl UnwindSafe for XTrimOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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