pub struct RollupConfig {
pub enabled: bool,
pub max_weeks_per_run: u32,
pub max_months_per_run: u32,
pub max_extractive_spans_per_week: u32,
pub max_abstractive_words_per_week: u32,
pub max_extractive_spans_per_month: u32,
pub max_abstractive_words_per_month: u32,
pub week_mmr_threshold: f64,
pub month_mmr_threshold: f64,
pub extractive_model: String,
pub abstractive_model: String,
pub ollama_endpoint: String,
}Fields§
§enabled: bool§max_weeks_per_run: u32§max_months_per_run: u32§max_extractive_spans_per_week: u32§max_abstractive_words_per_week: u32§max_extractive_spans_per_month: u32§max_abstractive_words_per_month: u32§week_mmr_threshold: f64§month_mmr_threshold: f64§extractive_model: String§abstractive_model: String§ollama_endpoint: StringTrait Implementations§
Source§impl Clone for RollupConfig
impl Clone for RollupConfig
Source§fn clone(&self) -> RollupConfig
fn clone(&self) -> RollupConfig
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 RollupConfig
impl Debug for RollupConfig
Source§impl Default for RollupConfig
impl Default for RollupConfig
Source§impl<'de> Deserialize<'de> for RollupConfig
impl<'de> Deserialize<'de> for RollupConfig
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 RollupConfig
impl RefUnwindSafe for RollupConfig
impl Send for RollupConfig
impl Sync for RollupConfig
impl Unpin for RollupConfig
impl UnsafeUnpin for RollupConfig
impl UnwindSafe for RollupConfig
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