pub struct NodeOutcome {
pub status: OutcomeStatus,
pub notes: Option<String>,
pub failure_reason: Option<String>,
pub context_updates: HashMap<String, String>,
pub preferred_label: Option<String>,
pub suggested_next_ids: Vec<String>,
}Expand description
Result of executing a single Attractor pipeline node.
Fields§
§status: OutcomeStatus§notes: Option<String>§failure_reason: Option<String>§context_updates: HashMap<String, String>§preferred_label: Option<String>§suggested_next_ids: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for NodeOutcome
impl Clone for NodeOutcome
Source§fn clone(&self) -> NodeOutcome
fn clone(&self) -> NodeOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 NodeOutcome
impl Debug for NodeOutcome
Source§impl<'de> Deserialize<'de> for NodeOutcome
impl<'de> Deserialize<'de> for NodeOutcome
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
Auto Trait Implementations§
impl Freeze for NodeOutcome
impl RefUnwindSafe for NodeOutcome
impl Send for NodeOutcome
impl Sync for NodeOutcome
impl Unpin for NodeOutcome
impl UnwindSafe for NodeOutcome
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