pub struct ObjectiveDecisionPoint {
pub condition: String,
pub branches: Vec<ObjectiveDecisionPointBranch>,
pub fallback_objective_id: Option<String>,
}Expand description
A branch in the plan: when condition holds, execution continues at the matching branch’s
objective instead of the next one in order.
Fields§
§condition: String§branches: Vec<ObjectiveDecisionPointBranch>§fallback_objective_id: Option<String>Taken when no branch matches.
Trait Implementations§
Source§impl Clone for ObjectiveDecisionPoint
impl Clone for ObjectiveDecisionPoint
Source§fn clone(&self) -> ObjectiveDecisionPoint
fn clone(&self) -> ObjectiveDecisionPoint
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 ObjectiveDecisionPoint
impl Debug for ObjectiveDecisionPoint
Source§impl Default for ObjectiveDecisionPoint
impl Default for ObjectiveDecisionPoint
Source§fn default() -> ObjectiveDecisionPoint
fn default() -> ObjectiveDecisionPoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectiveDecisionPoint
impl<'de> Deserialize<'de> for ObjectiveDecisionPoint
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 ObjectiveDecisionPoint
impl PartialEq for ObjectiveDecisionPoint
Source§impl Serialize for ObjectiveDecisionPoint
impl Serialize for ObjectiveDecisionPoint
impl StructuralPartialEq for ObjectiveDecisionPoint
Auto Trait Implementations§
impl Freeze for ObjectiveDecisionPoint
impl RefUnwindSafe for ObjectiveDecisionPoint
impl Send for ObjectiveDecisionPoint
impl Sync for ObjectiveDecisionPoint
impl Unpin for ObjectiveDecisionPoint
impl UnsafeUnpin for ObjectiveDecisionPoint
impl UnwindSafe for ObjectiveDecisionPoint
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