pub struct ActionPrediction {
pub invocation: Digest,
pub action: Digest,
pub adapter: String,
pub payload: String,
}Expand description
Adapter-owned data needed to reconstruct an action from a prior task run.
Fields§
§invocation: DigestInvocation digest used to locate this prediction.
action: DigestFull action digest produced when the prediction was recorded.
adapter: StringAdapter name that owns and understands payload.
payload: StringAdapter-defined serialized input prediction.
Implementations§
Trait Implementations§
Source§impl Clone for ActionPrediction
impl Clone for ActionPrediction
Source§fn clone(&self) -> ActionPrediction
fn clone(&self) -> ActionPrediction
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 ActionPrediction
impl Debug for ActionPrediction
Source§impl<'de> Deserialize<'de> for ActionPrediction
impl<'de> Deserialize<'de> for ActionPrediction
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
impl Eq for ActionPrediction
Source§impl PartialEq for ActionPrediction
impl PartialEq for ActionPrediction
Source§impl Serialize for ActionPrediction
impl Serialize for ActionPrediction
impl StructuralPartialEq for ActionPrediction
Auto Trait Implementations§
impl Freeze for ActionPrediction
impl RefUnwindSafe for ActionPrediction
impl Send for ActionPrediction
impl Sync for ActionPrediction
impl Unpin for ActionPrediction
impl UnsafeUnpin for ActionPrediction
impl UnwindSafe for ActionPrediction
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