Struct redis_driver::XAddOptions
source · [−]pub struct XAddOptions { /* private fields */ }
Expand description
Stream Add options for the xadd
command.
Implementations
sourceimpl XAddOptions
impl XAddOptions
pub fn no_mk_stream(self) -> Self
pub fn trim_options(self, trim_options: XTrimOptions) -> Self
Trait Implementations
sourceimpl Default for XAddOptions
impl Default for XAddOptions
sourcefn default() -> XAddOptions
fn default() -> XAddOptions
Returns the “default value” for a type. Read more
sourceimpl IntoArgs for XAddOptions
impl IntoArgs for XAddOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for XAddOptions
impl Send for XAddOptions
impl Sync for XAddOptions
impl Unpin for XAddOptions
impl UnwindSafe for XAddOptions
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