pub struct BackwardConfig {
pub worker_threads: usize,
pub enable_scheduler: bool,
pub persistence: PersistenceConfig,
pub analytics: AnalyticsConfig,
pub retention: RetentionConfig,
}Fields§
§worker_threads: usizeNumber of worker threads
enable_scheduler: boolEnable scheduled jobs
persistence: PersistenceConfigPersistence configuration
analytics: AnalyticsConfigAnalytics configuration
retention: RetentionConfigData retention configuration
Trait Implementations§
Source§impl Clone for BackwardConfig
impl Clone for BackwardConfig
Source§fn clone(&self) -> BackwardConfig
fn clone(&self) -> BackwardConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BackwardConfig
impl Debug for BackwardConfig
Source§impl Default for BackwardConfig
impl Default for BackwardConfig
Source§impl<'de> Deserialize<'de> for BackwardConfigwhere
BackwardConfig: Default,
impl<'de> Deserialize<'de> for BackwardConfigwhere
BackwardConfig: Default,
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 BackwardConfig
impl RefUnwindSafe for BackwardConfig
impl Send for BackwardConfig
impl Sync for BackwardConfig
impl Unpin for BackwardConfig
impl UnsafeUnpin for BackwardConfig
impl UnwindSafe for BackwardConfig
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