pub struct ManagerTemplate {
pub id: Option<String>,
pub id_pattern: Option<String>,
pub count: usize,
pub role: String,
pub activation: ManagerActivationConfig,
pub config: Value,
}Expand description
Manager テンプレート
Fields§
§id: Option<String>Manager ID (単一マネージャー用、id_pattern と排他)
id_pattern: Option<String>ID生成パターン (e.g., “manager_{i}”、複数マネージャー用)
count: usize生成数 (id_pattern 使用時のみ有効)
role: StringManager 役割/タイプ (e.g., “llm_batch”)
activation: ManagerActivationConfigアクティベーション設定
config: ValueManager 固有設定
Implementations§
Source§impl ManagerTemplate
impl ManagerTemplate
Sourcepub fn generate_ids(&self) -> Vec<String>
pub fn generate_ids(&self) -> Vec<String>
Manager IDを生成
Trait Implementations§
Source§impl Clone for ManagerTemplate
impl Clone for ManagerTemplate
Source§fn clone(&self) -> ManagerTemplate
fn clone(&self) -> ManagerTemplate
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 ManagerTemplate
impl Debug for ManagerTemplate
Source§impl<'de> Deserialize<'de> for ManagerTemplate
impl<'de> Deserialize<'de> for ManagerTemplate
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 ManagerTemplate
impl RefUnwindSafe for ManagerTemplate
impl Send for ManagerTemplate
impl Sync for ManagerTemplate
impl Unpin for ManagerTemplate
impl UnwindSafe for ManagerTemplate
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