pub struct ScenarioVariant {
pub name: String,
pub description: String,
pub llm: Option<LlmConfigOverride>,
pub environment_params: Value,
pub dependency_graph: Option<DependencyGraphConfig>,
pub app_config: Option<AppConfigOverride>,
pub max_ticks: Option<u64>,
pub workers_count: Option<usize>,
pub managers_count: Option<usize>,
}Expand description
シナリオバリアント(パラメータのオーバーライド)
Fields§
§name: Stringバリアント名(CLI で指定する識別子)
description: String説明
llm: Option<LlmConfigOverride>LLM 設定のオーバーライド(provider 切り替え等)
environment_params: Value環境パラメータのオーバーライド
dependency_graph: Option<DependencyGraphConfig>依存グラフ設定のオーバーライド(オプション)
app_config: Option<AppConfigOverride>AppConfig のオーバーライド(オプション)
max_ticks: Option<u64>max_ticks のオーバーライド(オプション)
workers_count: Option<usize>Worker 数のオーバーライド(最初の worker template の count を上書き)
managers_count: Option<usize>Manager 数のオーバーライド(最初の manager template の count を上書き)
Trait Implementations§
Source§impl Clone for ScenarioVariant
impl Clone for ScenarioVariant
Source§fn clone(&self) -> ScenarioVariant
fn clone(&self) -> ScenarioVariant
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 ScenarioVariant
impl Debug for ScenarioVariant
Source§impl<'de> Deserialize<'de> for ScenarioVariant
impl<'de> Deserialize<'de> for ScenarioVariant
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 ScenarioVariant
impl RefUnwindSafe for ScenarioVariant
impl Send for ScenarioVariant
impl Sync for ScenarioVariant
impl Unpin for ScenarioVariant
impl UnwindSafe for ScenarioVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more