pub struct DreamTriggerConfig {
pub nap_on_session_end: bool,
pub nap_idle_timeout_secs: u64,
pub dream_memory_threshold: usize,
pub deep_dream_cooldown_hours: u64,
pub deep_dream_inactivity_mins: u64,
}Expand description
Dream trigger configuration
Fields§
§nap_on_session_end: boolWhether to trigger a nap on session end
nap_idle_timeout_secs: u64Idle timeout in seconds before a nap is triggered
dream_memory_threshold: usizeNumber of new memories that trigger a dream cycle
deep_dream_cooldown_hours: u64Minimum hours between deep dream cycles
deep_dream_inactivity_mins: u64Minimum inactivity minutes before deep dream
Trait Implementations§
Source§impl Clone for DreamTriggerConfig
impl Clone for DreamTriggerConfig
Source§fn clone(&self) -> DreamTriggerConfig
fn clone(&self) -> DreamTriggerConfig
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 DreamTriggerConfig
impl Debug for DreamTriggerConfig
Source§impl Default for DreamTriggerConfig
impl Default for DreamTriggerConfig
Source§impl<'de> Deserialize<'de> for DreamTriggerConfig
impl<'de> Deserialize<'de> for DreamTriggerConfig
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 DreamTriggerConfig
impl RefUnwindSafe for DreamTriggerConfig
impl Send for DreamTriggerConfig
impl Sync for DreamTriggerConfig
impl Unpin for DreamTriggerConfig
impl UnsafeUnpin for DreamTriggerConfig
impl UnwindSafe for DreamTriggerConfig
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