pub struct Command {
pub name: Bytes,
pub name_upper: Bytes,
pub args: Vec<Value>,
}Expand description
A parsed Redis command with normalized name and arguments.
Fields§
§name: Bytes§name_upper: Bytes§args: Vec<Value>Implementations§
Trait Implementations§
Source§impl<State> FromRequest<State> for Command
impl<State> FromRequest<State> for Command
type Rejection = Infallible
async fn from_request( ctx: &mut RequestContext, _state: &Arc<State>, ) -> Result<Self, Self::Rejection>
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl !Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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