pub struct ActionBinding {
pub attempts: Vec<BoundAttempt>,
}Expand description
Ordered, closed act-chain. No declared fallback ⇒ exactly one attempt (principle 6: the runner never improvises a downgrade).
Fields§
§attempts: Vec<BoundAttempt>The attempts, in declared order. A subsequent attempt is tried only
after action_failed_final of the previous one (spine §6.2).
Trait Implementations§
Source§impl Clone for ActionBinding
impl Clone for ActionBinding
Source§fn clone(&self) -> ActionBinding
fn clone(&self) -> ActionBinding
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 ActionBinding
impl Debug for ActionBinding
Source§impl<'de> Deserialize<'de> for ActionBinding
impl<'de> Deserialize<'de> for ActionBinding
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 ActionBinding
impl JsonSchema for ActionBinding
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 ActionBinding
impl PartialEq for ActionBinding
Source§impl Serialize for ActionBinding
impl Serialize for ActionBinding
impl StructuralPartialEq for ActionBinding
Auto Trait Implementations§
impl Freeze for ActionBinding
impl RefUnwindSafe for ActionBinding
impl Send for ActionBinding
impl Sync for ActionBinding
impl Unpin for ActionBinding
impl UnsafeUnpin for ActionBinding
impl UnwindSafe for ActionBinding
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