pub struct Operate<'a> {
pub command: Option<Cow<'a, str>>,
pub command_key: Option<Cow<'a, str>>,
pub send_resp: Option<bool>,
pub input_args: HashMap<Cow<'a, str>, Cow<'a, str>>,
}
Fields§
§command: Option<Cow<'a, str>>
§command_key: Option<Cow<'a, str>>
§send_resp: Option<bool>
§input_args: HashMap<Cow<'a, str>, Cow<'a, str>>
Trait Implementations§
source§impl<'a> MessageRead<'a> for Operate<'a>
impl<'a> MessageRead<'a> for Operate<'a>
source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read more