pub struct PlanResult {
pub found: bool,
pub actions: Vec<String>,
pub final_state: Vec<String>,
pub explored_states: usize,
pub budget_exhausted: bool,
}Fields§
§found: bool§actions: Vec<String>§final_state: Vec<String>§explored_states: usize§budget_exhausted: boolTrue when max_states stopped the search before it could prove no plan exists.
Trait Implementations§
Source§impl Clone for PlanResult
impl Clone for PlanResult
Source§impl Debug for PlanResult
impl Debug for PlanResult
Source§impl<'de> Deserialize<'de> for PlanResult
impl<'de> Deserialize<'de> for PlanResult
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 PlanResult
impl RefUnwindSafe for PlanResult
impl Send for PlanResult
impl Sync for PlanResult
impl Unpin for PlanResult
impl UnsafeUnpin for PlanResult
impl UnwindSafe for PlanResult
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