pub struct BoundAttempt {
pub channel: ActChannel,
pub action_name: ActionName,
pub args: ExprMap,
pub requires_feature: Option<FeatureId>,
pub accept_execution_modes: BTreeSet<ExecutionMode>,
pub protection: Protection,
}Expand description
One fully bound attempt of the act-chain (02 §5.1).
protection is const "standard" in v0.1: bind rejects protected
actions (spine R6). coordinate attempts must carry literal static
coordinates in args (bind-phase check).
Fields§
§channel: ActChannelLocating channel — ActChannel, so vision is structurally
impossible here (principle 7).
action_name: ActionNameProvider-native action name (per lockfile.device.actions).
args: ExprMapArguments as expressions; shape-checked against the action’s
inputSchema at bind time and re-checked after evaluation at runtime.
requires_feature: Option<FeatureId>Feature this attempt depends on (e.g. device.semanticActions.v1).
accept_execution_modes: BTreeSet<ExecutionMode>Whitelist of daemon-internal execution modes (spine §6.4 R-degrade).
Derived per attempt from its own channel only; semantic attempts
never include coordinateFallback. Set semantics — serialized in
declaration order of ExecutionMode, deduplicated on load.
protection: ProtectionConst "standard" in v0.1 (spine R6).
Trait Implementations§
Source§impl Clone for BoundAttempt
impl Clone for BoundAttempt
Source§fn clone(&self) -> BoundAttempt
fn clone(&self) -> BoundAttempt
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BoundAttempt
impl Debug for BoundAttempt
Source§impl<'de> Deserialize<'de> for BoundAttempt
impl<'de> Deserialize<'de> for BoundAttempt
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>,
Source§impl JsonSchema for BoundAttempt
impl JsonSchema for BoundAttempt
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more