pub struct CoreSessionConfig {
pub dir: Option<String>,
pub name: Option<String>,
pub persist: Option<bool>,
pub retention_days: Option<u32>,
pub export_format: Option<String>,
pub auto_title: Option<bool>,
pub git_metadata: Option<bool>,
}Expand description
[core.session] (obligation 6). P3/P4: entirely NEW — no Config
field represents a session store location/policy today.
Fields§
§dir: Option<String>Default session-store location.
name: Option<String>Session naming/rename (S14).
persist: Option<bool>false = ephemeral (D5 row; cc/cx/pi have it).
retention_days: Option<u32>Retention window in days.
export_format: Option<String>Human transcript export format: text | html (catalog:283).
auto_title: Option<bool>Auto-title/session-summary (catalog:150; D-9 small-model consumer).
git_metadata: Option<bool>Capture git branch/sha on write (catalog:331).
Trait Implementations§
Source§impl Clone for CoreSessionConfig
impl Clone for CoreSessionConfig
Source§fn clone(&self) -> CoreSessionConfig
fn clone(&self) -> CoreSessionConfig
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 CoreSessionConfig
impl Debug for CoreSessionConfig
Source§impl Default for CoreSessionConfig
impl Default for CoreSessionConfig
Source§fn default() -> CoreSessionConfig
fn default() -> CoreSessionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CoreSessionConfig
impl<'de> Deserialize<'de> for CoreSessionConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoreSessionConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CoreSessionConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CoreSessionConfig
impl PartialEq for CoreSessionConfig
Source§impl Serialize for CoreSessionConfig
impl Serialize for CoreSessionConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CoreSessionConfig
Auto Trait Implementations§
impl Freeze for CoreSessionConfig
impl RefUnwindSafe for CoreSessionConfig
impl Send for CoreSessionConfig
impl Sync for CoreSessionConfig
impl Unpin for CoreSessionConfig
impl UnsafeUnpin for CoreSessionConfig
impl UnwindSafe for CoreSessionConfig
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