Struct ntex_redis::cmd::commands::LPushCommand
source · pub struct LPushCommand(_);
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.