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 IntoArgs for XAddOptions
impl IntoArgs for XAddOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
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