pub struct RunCreateStateful {Show 20 fields
pub assistant_id: Box<RunCreateStatefulAssistantId>,
pub checkpoint: Option<CheckpointConfig>,
pub input: Option<Option<Box<Input1>>>,
pub command: Option<Option<Box<Command>>>,
pub metadata: Option<Value>,
pub config: Option<Box<Config3>>,
pub context: Option<Value>,
pub webhook: Option<String>,
pub interrupt_before: Option<Box<InterruptBefore1>>,
pub interrupt_after: Option<Box<InterruptAfter1>>,
pub stream_mode: Option<Box<StreamMode>>,
pub stream_subgraphs: Option<bool>,
pub stream_resumable: Option<bool>,
pub on_disconnect: Option<OnDisconnect>,
pub feedback_keys: Option<Vec<String>>,
pub multitask_strategy: Option<MultitaskStrategy>,
pub if_not_exists: Option<IfNotExists>,
pub after_seconds: Option<f64>,
pub checkpoint_during: Option<bool>,
pub durability: Option<Durability>,
}Expand description
RunCreateStateful : Payload for creating a run.
Fields§
§assistant_id: Box<RunCreateStatefulAssistantId>§checkpoint: Option<CheckpointConfig>The checkpoint to resume from.
input: Option<Option<Box<Input1>>>§command: Option<Option<Box<Command>>>§metadata: Option<Value>Metadata to assign to the run.
config: Option<Box<Config3>>§context: Option<Value>Static context added to the assistant.
webhook: Option<String>Webhook to call after LangGraph API call is done.
interrupt_before: Option<Box<InterruptBefore1>>§interrupt_after: Option<Box<InterruptAfter1>>§stream_mode: Option<Box<StreamMode>>§stream_subgraphs: Option<bool>Whether to stream output from subgraphs.
stream_resumable: Option<bool>Whether to persist the stream chunks in order to resume the stream later.
on_disconnect: Option<OnDisconnect>The disconnect mode to use. Must be one of ‘cancel’ or ‘continue’.
feedback_keys: Option<Vec<String>>Feedback keys to assign to run.
multitask_strategy: Option<MultitaskStrategy>Multitask strategy to use. Must be one of ‘reject’, ‘interrupt’, ‘rollback’, or ‘enqueue’.
if_not_exists: Option<IfNotExists>How to handle missing thread. Must be either ‘reject’ (raise error if missing), or ‘create’ (create new thread).
after_seconds: Option<f64>The number of seconds to wait before starting the run. Use to schedule future runs.
checkpoint_during: Option<bool>Whether to checkpoint during the run.
durability: Option<Durability>Durability level for the run. Must be one of ‘sync’, ‘async’, or ‘exit’.
Implementations§
Source§impl RunCreateStateful
impl RunCreateStateful
Sourcepub fn new(assistant_id: RunCreateStatefulAssistantId) -> RunCreateStateful
pub fn new(assistant_id: RunCreateStatefulAssistantId) -> RunCreateStateful
Payload for creating a run.
Trait Implementations§
Source§impl Clone for RunCreateStateful
impl Clone for RunCreateStateful
Source§fn clone(&self) -> RunCreateStateful
fn clone(&self) -> RunCreateStateful
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RunCreateStateful
impl Debug for RunCreateStateful
Source§impl Default for RunCreateStateful
impl Default for RunCreateStateful
Source§fn default() -> RunCreateStateful
fn default() -> RunCreateStateful
Source§impl<'de> Deserialize<'de> for RunCreateStateful
impl<'de> Deserialize<'de> for RunCreateStateful
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>,
Source§impl PartialEq for RunCreateStateful
impl PartialEq for RunCreateStateful
Source§impl Serialize for RunCreateStateful
impl Serialize for RunCreateStateful
impl StructuralPartialEq for RunCreateStateful
Auto Trait Implementations§
impl Freeze for RunCreateStateful
impl RefUnwindSafe for RunCreateStateful
impl Send for RunCreateStateful
impl Sync for RunCreateStateful
impl Unpin for RunCreateStateful
impl UnwindSafe for RunCreateStateful
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)