pub struct JsonCommand { /* private fields */ }Expand description
A simple JSON-based command for SDK usage.
Returns the payload as-is when executed. Useful for language bindings (Python, Node.js) where commands are represented as JSON data.
Implementations§
Trait Implementations§
Source§impl Command for JsonCommand
impl Command for JsonCommand
Auto Trait Implementations§
impl Freeze for JsonCommand
impl RefUnwindSafe for JsonCommand
impl Send for JsonCommand
impl Sync for JsonCommand
impl Unpin for JsonCommand
impl UnsafeUnpin for JsonCommand
impl UnwindSafe for JsonCommand
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