pub struct DeviceExecuteParams {
pub id: Uuid,
pub name: String,
pub arguments: Value,
pub action_timeout_ms: Option<RequestTimeoutMs>,
}Expand description
Parameters for device.execute.
The action fields intentionally remain flat on the wire. The optional timeout controls only the Driver action, while the request envelope timeout controls the request-scoped device-operation budget. Durable terminal event finalization is shielded so cancellation cannot leave a half-open Action.
Fields§
§id: Uuid§name: String§arguments: Value§action_timeout_ms: Option<RequestTimeoutMs>Implementations§
Source§impl DeviceExecuteParams
impl DeviceExecuteParams
pub fn into_action_call(self) -> ActionCall
Trait Implementations§
Source§impl Clone for DeviceExecuteParams
impl Clone for DeviceExecuteParams
Source§fn clone(&self) -> DeviceExecuteParams
fn clone(&self) -> DeviceExecuteParams
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 DeviceExecuteParams
impl Debug for DeviceExecuteParams
Source§impl<'de> Deserialize<'de> for DeviceExecuteParams
impl<'de> Deserialize<'de> for DeviceExecuteParams
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 JsonSchema for DeviceExecuteParams
impl JsonSchema for DeviceExecuteParams
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DeviceExecuteParams
impl PartialEq for DeviceExecuteParams
Source§impl Serialize for DeviceExecuteParams
impl Serialize for DeviceExecuteParams
impl StructuralPartialEq for DeviceExecuteParams
Auto Trait Implementations§
impl Freeze for DeviceExecuteParams
impl RefUnwindSafe for DeviceExecuteParams
impl Send for DeviceExecuteParams
impl Sync for DeviceExecuteParams
impl Unpin for DeviceExecuteParams
impl UnsafeUnpin for DeviceExecuteParams
impl UnwindSafe for DeviceExecuteParams
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