Struct wapc::Invocation
source · pub struct Invocation {
pub operation: String,
pub msg: Vec<u8>,
}
Expand description
Represents a waPC invocation, which is a combination of an operation string and the corresponding binary payload
Fields§
§operation: String
The waPC command to execute.
msg: Vec<u8>
The payload to send.
Trait Implementations§
source§impl Clone for Invocation
impl Clone for Invocation
source§fn clone(&self) -> Invocation
fn clone(&self) -> Invocation
Returns a copy 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 more