pub struct Operate {
pub command: String,
pub command_key: String,
pub send_resp: bool,
pub input_args: HashMap<String, String>,
}Fields§
§command: String§command_key: String§send_resp: bool§input_args: HashMap<String, String>Trait Implementations§
Source§impl<'a> MessageRead<'a> for Operate
impl<'a> MessageRead<'a> for Operate
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 moreSource§impl MessageWrite for Operate
impl MessageWrite for Operate
impl StructuralPartialEq for Operate
Auto Trait Implementations§
impl Freeze for Operate
impl RefUnwindSafe for Operate
impl Send for Operate
impl Sync for Operate
impl Unpin for Operate
impl UnwindSafe for Operate
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