pub struct LearnableSwarmConfig {
pub scenario: String,
pub data_dir: PathBuf,
pub learning_enabled: bool,
pub subscriber_batch_size: usize,
pub subscriber_flush_interval_ms: u64,
pub daemon_check_interval: Duration,
}Expand description
学習機能付き Swarm の設定
Fields§
§scenario: Stringシナリオ名(学習データのキー)
data_dir: PathBuf学習データディレクトリ
learning_enabled: bool学習機能の有効/無効
subscriber_batch_size: usizeSubscriber のバッチサイズ
subscriber_flush_interval_ms: u64Subscriber のフラッシュ間隔(ミリ秒)
daemon_check_interval: DurationDaemon のチェック間隔
Implementations§
Trait Implementations§
Source§impl Clone for LearnableSwarmConfig
impl Clone for LearnableSwarmConfig
Source§fn clone(&self) -> LearnableSwarmConfig
fn clone(&self) -> LearnableSwarmConfig
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 LearnableSwarmConfig
impl Debug for LearnableSwarmConfig
Auto Trait Implementations§
impl Freeze for LearnableSwarmConfig
impl RefUnwindSafe for LearnableSwarmConfig
impl Send for LearnableSwarmConfig
impl Sync for LearnableSwarmConfig
impl Unpin for LearnableSwarmConfig
impl UnwindSafe for LearnableSwarmConfig
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