pub struct RunnableConfig {
pub tags: Option<Vec<String>>,
pub metadata: Option<HashMap<String, Value>>,
pub max_concurrency: Option<usize>,
pub run_name: Option<String>,
pub run_id: Option<Uuid>,
pub configurable: Option<HashMap<String, Value>>,
pub callbacks: Option<Vec<Arc<dyn CallbackHandlerDyn>>>,
pub tracing_config: Option<TracingConfig>,
}Expand description
Configuration passed through a runnable chain.
Fields§
Tags for filtering and categorization.
metadata: Option<HashMap<String, Value>>Metadata key-value pairs.
max_concurrency: Option<usize>Maximum concurrency for batch operations.
run_name: Option<String>Name for this run.
run_id: Option<Uuid>Unique identifier for this run.
configurable: Option<HashMap<String, Value>>Configurable key-value pairs.
callbacks: Option<Vec<Arc<dyn CallbackHandlerDyn>>>Callback handlers (not serialized).
tracing_config: Option<TracingConfig>Tracing configuration (only available with the tracing feature).
Trait Implementations§
Source§impl Clone for RunnableConfig
impl Clone for RunnableConfig
Source§fn clone(&self) -> RunnableConfig
fn clone(&self) -> RunnableConfig
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 RunnableConfig
impl Debug for RunnableConfig
Source§impl Default for RunnableConfig
impl Default for RunnableConfig
Source§fn default() -> RunnableConfig
fn default() -> RunnableConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunnableConfig
impl<'de> Deserialize<'de> for RunnableConfig
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 RunnableConfig
impl !RefUnwindSafe for RunnableConfig
impl Send for RunnableConfig
impl Sync for RunnableConfig
impl Unpin for RunnableConfig
impl UnsafeUnpin for RunnableConfig
impl !UnwindSafe for RunnableConfig
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