Struct ntex_redis::cmd::commands::LPushCommand
source · pub struct LPushCommand(/* private fields */);
Implementations§
source§impl LPushCommand
impl LPushCommand
sourcepub fn if_exists(self) -> Self
pub fn if_exists(self) -> Self
Inserts specified values only if key already exists and holds a list.
sourcepub fn value<T>(self, other: T) -> Selfwhere
BulkString: From<T>,
pub fn value<T>(self, other: T) -> Selfwhere
BulkString: From<T>,
Add a value to this command.
sourcepub fn extend<T>(self, other: impl IntoIterator<Item = T>) -> Selfwhere
BulkString: From<T>,
pub fn extend<T>(self, other: impl IntoIterator<Item = T>) -> Selfwhere
BulkString: From<T>,
Add more values to this command.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LPushCommand
impl !RefUnwindSafe for LPushCommand
impl Send for LPushCommand
impl Sync for LPushCommand
impl Unpin for LPushCommand
impl !UnwindSafe for LPushCommand
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