pub struct PlanResponse {
pub plan_id: String,
pub status: String,
pub steps: Vec<PlanStep>,
pub domain: String,
pub complexity: i32,
pub parallel: bool,
pub estimated_duration: String,
pub metadata: HashMap<String, Value>,
pub success: bool,
pub version: i32,
pub result: Option<Value>,
pub error: Option<String>,
}Fields§
§plan_id: String§status: String§steps: Vec<PlanStep>§domain: String§complexity: i32§parallel: bool§estimated_duration: String§metadata: HashMap<String, Value>§success: bool§version: i32§result: Option<Value>§error: Option<String>Trait Implementations§
Source§impl Clone for PlanResponse
impl Clone for PlanResponse
Source§fn clone(&self) -> PlanResponse
fn clone(&self) -> PlanResponse
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 PlanResponse
impl Debug for PlanResponse
Source§impl Default for PlanResponse
impl Default for PlanResponse
Source§fn default() -> PlanResponse
fn default() -> PlanResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlanResponsewhere
PlanResponse: Default,
impl<'de> Deserialize<'de> for PlanResponsewhere
PlanResponse: Default,
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 PlanResponse
impl RefUnwindSafe for PlanResponse
impl Send for PlanResponse
impl Sync for PlanResponse
impl Unpin for PlanResponse
impl UnsafeUnpin for PlanResponse
impl UnwindSafe for PlanResponse
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