pub struct KingCommand {
pub command: String,
pub target_agent: String,
pub params: HashMap<String, Value>,
}Fields§
§command: String§target_agent: String§params: HashMap<String, Value>Trait Implementations§
Source§impl Clone for KingCommand
impl Clone for KingCommand
Source§fn clone(&self) -> KingCommand
fn clone(&self) -> KingCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KingCommand
impl Debug for KingCommand
Source§impl<'de> Deserialize<'de> for KingCommand
impl<'de> Deserialize<'de> for KingCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for KingCommand
impl RefUnwindSafe for KingCommand
impl Send for KingCommand
impl Sync for KingCommand
impl Unpin for KingCommand
impl UnsafeUnpin for KingCommand
impl UnwindSafe for KingCommand
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