pub struct SessionSettings {
pub auto_sync: bool,
pub sync_interval_secs: Option<u64>,
pub conflict_resolution: ConflictResolution,
pub log_level: LogLevel,
pub enable_monitoring: bool,
pub max_duration_secs: Option<u64>,
pub auto_cleanup: bool,
}Expand description
Session-specific settings.
Fields§
§auto_sync: boolWhether to auto-sync agents
sync_interval_secs: Option<u64>Sync interval in seconds
conflict_resolution: ConflictResolutionConflict resolution strategy
log_level: LogLevelLog level
enable_monitoring: boolWhether to enable activity monitoring
max_duration_secs: Option<u64>Maximum session duration in seconds (None for unlimited)
auto_cleanup: boolWhether to automatically cleanup on termination
Trait Implementations§
Source§impl Clone for SessionSettings
impl Clone for SessionSettings
Source§impl Debug for SessionSettings
impl Debug for SessionSettings
Source§impl Default for SessionSettings
impl Default for SessionSettings
Source§impl<'de> Deserialize<'de> for SessionSettings
impl<'de> Deserialize<'de> for SessionSettings
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 SessionSettings
impl RefUnwindSafe for SessionSettings
impl Send for SessionSettings
impl Sync for SessionSettings
impl Unpin for SessionSettings
impl UnsafeUnpin for SessionSettings
impl UnwindSafe for SessionSettings
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