Struct rustis::commands::XAddOptions
source · pub struct XAddOptions { /* private fields */ }
Expand description
Stream Add options for the xadd
command.
Implementations§
source§impl XAddOptions
impl XAddOptions
pub fn no_mk_stream(self) -> Self
pub fn trim_options(self, trim_options: XTrimOptions) -> Self
Trait Implementations§
source§impl Default for XAddOptions
impl Default for XAddOptions
source§fn default() -> XAddOptions
fn default() -> XAddOptions
Returns the “default value” for a type. Read more
source§impl ToArgs for XAddOptions
impl ToArgs for XAddOptions
source§fn write_args(&self, args: &mut CommandArgs)
fn write_args(&self, args: &mut CommandArgs)
Write this Rust type as one ore multiple args into CommandArgs. Read more
Auto Trait Implementations§
impl Freeze for XAddOptions
impl RefUnwindSafe for XAddOptions
impl Send for XAddOptions
impl Sync for XAddOptions
impl Unpin for XAddOptions
impl UnwindSafe for XAddOptions
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