pub struct ActionPreview {
pub envelope: ActionEnvelope,
pub executable: bool,
pub blocker: Option<String>,
pub policy: PolicyDecision,
pub capability: ExecutionCapability,
}Expand description
Result of preview_action used for deterministic graph routing.
Fields§
§envelope: ActionEnvelopeThe runtime-bound action envelope.
executable: boolWhether the action is currently executable.
blocker: Option<String>Reason the action is blocked, when not executable.
policy: PolicyDecisionThe policy decision for the action.
capability: ExecutionCapabilityThe capability backing the action.
Trait Implementations§
Source§impl Clone for ActionPreview
impl Clone for ActionPreview
Source§fn clone(&self) -> ActionPreview
fn clone(&self) -> ActionPreview
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 ActionPreview
impl Debug for ActionPreview
Source§impl<'de> Deserialize<'de> for ActionPreview
impl<'de> Deserialize<'de> for ActionPreview
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 ActionPreview
impl PartialEq for ActionPreview
Source§impl Serialize for ActionPreview
impl Serialize for ActionPreview
impl StructuralPartialEq for ActionPreview
Auto Trait Implementations§
impl Freeze for ActionPreview
impl RefUnwindSafe for ActionPreview
impl Send for ActionPreview
impl Sync for ActionPreview
impl Unpin for ActionPreview
impl UnsafeUnpin for ActionPreview
impl UnwindSafe for ActionPreview
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