pub struct ActionResult {
pub value: Value,
pub revision: u64,
pub task: Option<u64>,
pub resources: Vec<Resource>,
}Expand description
Action completion or a deferred host-managed task.
Fields§
§value: ValueCompleted structured output (Null for deferred work).
revision: u64Current host revision after execution.
task: Option<u64>Task identifier when execution continues asynchronously.
resources: Vec<Resource>Metadata for optional separately readable payloads.
Implementations§
Trait Implementations§
Source§impl Clone for ActionResult
impl Clone for ActionResult
Source§impl Debug for ActionResult
impl Debug for ActionResult
impl Eq for ActionResult
Source§impl PartialEq for ActionResult
impl PartialEq for ActionResult
impl StructuralPartialEq for ActionResult
Auto Trait Implementations§
impl Forget for ActionResult
impl Freeze for ActionResult
impl RefUnwindSafe for ActionResult
impl Send for ActionResult
impl Sync for ActionResult
impl Unpin for ActionResult
impl UnsafeUnpin for ActionResult
impl UnwindSafe for ActionResult
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