pub struct CreateParams {
pub system_prompt: String,
pub initial_prompt: String,
pub output_path: String,
pub session_name: String,
pub session_tag: String,
}Expand description
Prepared parameters for workflow creation — used by both the CLI (which spawns zag directly) and the API (which returns data to the frontend).
Fields§
§system_prompt: String§initial_prompt: String§output_path: String§session_name: String§session_tag: StringTrait Implementations§
Source§impl Clone for CreateParams
impl Clone for CreateParams
Source§fn clone(&self) -> CreateParams
fn clone(&self) -> CreateParams
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 CreateParams
impl Debug for CreateParams
Auto Trait Implementations§
impl Freeze for CreateParams
impl RefUnwindSafe for CreateParams
impl Send for CreateParams
impl Sync for CreateParams
impl Unpin for CreateParams
impl UnsafeUnpin for CreateParams
impl UnwindSafe for CreateParams
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