Skip to main content

WorkflowPlan

Struct WorkflowPlan 

Source
pub struct WorkflowPlan<Schedule = Value, Step = Value> {
Show 16 fields pub plan_id: String, pub planner_version: String, pub plan_source: String, pub original_prompt: String, pub normalized_prompt: String, pub confidence: String, pub title: String, pub description: Option<String>, pub schedule: Schedule, pub execution_target: String, pub workspace_root: String, pub steps: Vec<Step>, pub requires_integrations: Vec<String>, pub allowed_mcp_servers: Vec<String>, pub operator_preferences: Option<Value>, pub save_options: Value,
}

Fields§

§plan_id: String§planner_version: String§plan_source: String§original_prompt: String§normalized_prompt: String§confidence: String§title: String§description: Option<String>§schedule: Schedule§execution_target: String§workspace_root: String§steps: Vec<Step>§requires_integrations: Vec<String>§allowed_mcp_servers: Vec<String>§operator_preferences: Option<Value>§save_options: Value

Trait Implementations§

Source§

impl<Schedule: Clone, Step: Clone> Clone for WorkflowPlan<Schedule, Step>

Source§

fn clone(&self) -> WorkflowPlan<Schedule, Step>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<Schedule: Debug, Step: Debug> Debug for WorkflowPlan<Schedule, Step>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de, Schedule, Step> Deserialize<'de> for WorkflowPlan<Schedule, Step>
where Schedule: Deserialize<'de>, Step: Deserialize<'de> + Default,

Source§

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<Schedule, Step> Serialize for WorkflowPlan<Schedule, Step>
where Schedule: Serialize, Step: Serialize,

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl<Schedule, Step> Freeze for WorkflowPlan<Schedule, Step>
where Schedule: Freeze,

§

impl<Schedule, Step> RefUnwindSafe for WorkflowPlan<Schedule, Step>
where Schedule: RefUnwindSafe, Step: RefUnwindSafe,

§

impl<Schedule, Step> Send for WorkflowPlan<Schedule, Step>
where Schedule: Send, Step: Send,

§

impl<Schedule, Step> Sync for WorkflowPlan<Schedule, Step>
where Schedule: Sync, Step: Sync,

§

impl<Schedule, Step> Unpin for WorkflowPlan<Schedule, Step>
where Schedule: Unpin, Step: Unpin,

§

impl<Schedule, Step> UnsafeUnpin for WorkflowPlan<Schedule, Step>
where Schedule: UnsafeUnpin,

§

impl<Schedule, Step> UnwindSafe for WorkflowPlan<Schedule, Step>
where Schedule: UnwindSafe, Step: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,