pub struct HDelCommand(/* private fields */);
Implementations§
Source§impl HDelCommand
impl HDelCommand
Sourcepub fn remove<K>(self, field: K) -> Selfwhere
BulkString: From<K>,
pub fn remove<K>(self, field: K) -> Selfwhere
BulkString: From<K>,
Remove field
Sourcepub fn remove_all<T>(self, other: impl IntoIterator<Item = T>) -> Selfwhere
BulkString: From<T>,
pub fn remove_all<T>(self, other: impl IntoIterator<Item = T>) -> Selfwhere
BulkString: From<T>,
Add more fields to remove
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HDelCommand
impl !RefUnwindSafe for HDelCommand
impl Send for HDelCommand
impl Sync for HDelCommand
impl Unpin for HDelCommand
impl !UnwindSafe for HDelCommand
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more