pub enum Request {
Set {
name: String,
value: Value,
},
Patch {
name: String,
value: Value,
},
Get {
pattern: String,
},
Query {
pattern: String,
provide_rpc: bool,
},
Unsubscribe {
query_id: Uuid,
},
Remove {
name: String,
},
Emit {
object: String,
event: String,
data: Value,
},
Invoke {
object: String,
method: String,
args: Value,
},
InvokeResult {
invocation_id: Uuid,
result: Value,
},
SetDisconnectCommands {
commands: Vec<Command>,
},
}
Variants
Set
Patch
Get
Fields
pattern: String
Query
Unsubscribe
Fields
query_id: Uuid
Remove
Fields
name: String
Emit
Invoke
InvokeResult
SetDisconnectCommands
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
sourcefn 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 RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be
Self