pub enum JsApiCommand {
Root {
name: String,
},
RootElement {
dom_id: u64,
},
Get {
property: String,
},
Set {
property: String,
value: JsJson,
},
Call {
method: String,
args: Vec<JsJson>,
},
}Variants§
Trait Implementations§
Source§impl Clone for JsApiCommand
impl Clone for JsApiCommand
Source§fn clone(&self) -> JsApiCommand
fn clone(&self) -> JsApiCommand
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 JsApiCommand
impl Debug for JsApiCommand
Source§impl JsJsonDeserialize for JsApiCommand
impl JsJsonDeserialize for JsApiCommand
fn from_json(ctx: JsJsonContext, json: JsJson) -> Result<Self, JsJsonContext>
Source§impl JsJsonSerialize for JsApiCommand
impl JsJsonSerialize for JsApiCommand
Auto Trait Implementations§
impl Freeze for JsApiCommand
impl RefUnwindSafe for JsApiCommand
impl Send for JsApiCommand
impl Sync for JsApiCommand
impl Unpin for JsApiCommand
impl UnwindSafe for JsApiCommand
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