pub struct BoundActionCall {
pub call_id: String,
pub action_name: ActionName,
pub arguments: Value,
pub action_timeout_ms: Option<u64>,
pub request_timeout_ms: Option<u64>,
}Expand description
A bound, ready-to-dispatch action call (spine §4.2 BoundActionCall).
Fields§
§call_id: StringRunner-generated UUID; equals the substrate action id (devicerail:
device.execute params.id) — the key to effectively-once and to
crash-time ProviderSession::reconcile. Providers must use it
verbatim, never regenerate or rewrite it (04 §3).
action_name: ActionNameProvider-native action name.
arguments: ValueRuntime-evaluated arguments, already re-validated by the runner
against the action’s inputSchema.
action_timeout_ms: Option<u64>Action-scoped budget (driver action body only; expiry yields a
definite timedOut terminal, 04 §7.2).
request_timeout_ms: Option<u64>Request-envelope budget, distinct from the action budget (expiry yields an envelope error — outcome uncertain → reconcile, 04 §7.2).
Trait Implementations§
Source§impl Clone for BoundActionCall
impl Clone for BoundActionCall
Source§fn clone(&self) -> BoundActionCall
fn clone(&self) -> BoundActionCall
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 BoundActionCall
impl Debug for BoundActionCall
Source§impl<'de> Deserialize<'de> for BoundActionCall
impl<'de> Deserialize<'de> for BoundActionCall
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 BoundActionCall
impl JsonSchema for BoundActionCall
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 BoundActionCall
impl PartialEq for BoundActionCall
Source§impl Serialize for BoundActionCall
impl Serialize for BoundActionCall
impl StructuralPartialEq for BoundActionCall
Auto Trait Implementations§
impl Freeze for BoundActionCall
impl RefUnwindSafe for BoundActionCall
impl Send for BoundActionCall
impl Sync for BoundActionCall
impl Unpin for BoundActionCall
impl UnsafeUnpin for BoundActionCall
impl UnwindSafe for BoundActionCall
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