pub struct RuntimeDispatchRequest {
pub target: String,
pub operation: String,
pub mode: DispatchMode,
pub input: Value,
pub deadline_ms: Option<u64>,
}Expand description
Payload of a greentic.<runtime>.request.v1 message.
Fields§
§target: StringLogical target inside the runtime (e.g. a sorx deployment id).
operation: StringOperation/endpoint within the runtime.
mode: DispatchModeAwait vs fire-and-forget dispatch semantics.
input: ValueOpaque runtime input.
deadline_ms: Option<u64>Await-mode timeout budget in milliseconds.
Trait Implementations§
Source§impl Clone for RuntimeDispatchRequest
impl Clone for RuntimeDispatchRequest
Source§fn clone(&self) -> RuntimeDispatchRequest
fn clone(&self) -> RuntimeDispatchRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RuntimeDispatchRequest
impl Debug for RuntimeDispatchRequest
Source§impl<'de> Deserialize<'de> for RuntimeDispatchRequest
impl<'de> Deserialize<'de> for RuntimeDispatchRequest
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
Source§impl PartialEq for RuntimeDispatchRequest
impl PartialEq for RuntimeDispatchRequest
Source§fn eq(&self, other: &RuntimeDispatchRequest) -> bool
fn eq(&self, other: &RuntimeDispatchRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuntimeDispatchRequest
impl Serialize for RuntimeDispatchRequest
impl StructuralPartialEq for RuntimeDispatchRequest
Auto Trait Implementations§
impl Freeze for RuntimeDispatchRequest
impl RefUnwindSafe for RuntimeDispatchRequest
impl Send for RuntimeDispatchRequest
impl Sync for RuntimeDispatchRequest
impl Unpin for RuntimeDispatchRequest
impl UnsafeUnpin for RuntimeDispatchRequest
impl UnwindSafe for RuntimeDispatchRequest
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