pub struct SessionSettingsSnapshot {
pub client_name: Option<String>,
pub job: SessionSettingsJobSnapshot,
pub model: SessionSettingsModelSnapshot,
pub online_evaluation: SessionSettingsOnlineEvaluationSnapshot,
pub repo: SessionSettingsRepoSnapshot,
pub start_time_ms: Option<f64>,
pub timeout_ms: Option<f64>,
pub validation: SessionSettingsValidationSnapshot,
pub version: Option<String>,
}Expand description
Redacted, serializable view of session runtime settings for SDK boundary consumers. Secrets and raw feature flags are intentionally excluded.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§client_name: Option<String>Name of the SDK client that created the session.
job: SessionSettingsJobSnapshotRedacted job settings.
model: SessionSettingsModelSnapshotRedacted model routing settings.
online_evaluation: SessionSettingsOnlineEvaluationSnapshotOnline-evaluation settings safe for SDK consumers.
repo: SessionSettingsRepoSnapshotRedacted repository and host settings.
start_time_ms: Option<f64>Session start time as Unix epoch milliseconds.
timeout_ms: Option<f64>Session timeout in milliseconds.
validation: SessionSettingsValidationSnapshotRedacted validation and memory-tool settings.
version: Option<String>Agent runtime version selector copied from the session settings, such as latest or a runtime release identifier.
Trait Implementations§
Source§impl Clone for SessionSettingsSnapshot
impl Clone for SessionSettingsSnapshot
Source§fn clone(&self) -> SessionSettingsSnapshot
fn clone(&self) -> SessionSettingsSnapshot
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 SessionSettingsSnapshot
impl Debug for SessionSettingsSnapshot
Source§impl Default for SessionSettingsSnapshot
impl Default for SessionSettingsSnapshot
Source§fn default() -> SessionSettingsSnapshot
fn default() -> SessionSettingsSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionSettingsSnapshot
impl<'de> Deserialize<'de> for SessionSettingsSnapshot
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 SessionSettingsSnapshot
impl RefUnwindSafe for SessionSettingsSnapshot
impl Send for SessionSettingsSnapshot
impl Sync for SessionSettingsSnapshot
impl Unpin for SessionSettingsSnapshot
impl UnsafeUnpin for SessionSettingsSnapshot
impl UnwindSafe for SessionSettingsSnapshot
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