pub struct SessionSettingsValidationSnapshot {
pub advisory_enabled: Option<bool>,
pub codeql_enabled: Option<bool>,
pub code_review_enabled: Option<bool>,
pub code_review_model: Option<String>,
pub dependabot_timeout: Option<f64>,
pub memory_store_enabled: Option<bool>,
pub memory_vote_enabled: Option<bool>,
pub secret_scanning_enabled: Option<bool>,
pub timeout: Option<f64>,
}Expand description
Redacted validation and memory-tool settings for a session.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§advisory_enabled: Option<bool>Whether advisory validation is enabled.
codeql_enabled: Option<bool>Whether CodeQL validation is enabled.
code_review_enabled: Option<bool>Whether code-review validation is enabled.
code_review_model: Option<String>Model used for code-review validation.
dependabot_timeout: Option<f64>Dependabot validation timeout budget in seconds.
memory_store_enabled: Option<bool>Whether the memory-store tool is enabled.
memory_vote_enabled: Option<bool>Whether the memory-vote tool is enabled.
secret_scanning_enabled: Option<bool>Whether secret-scanning validation is enabled.
timeout: Option<f64>General validation timeout budget in seconds.
Trait Implementations§
Source§impl Clone for SessionSettingsValidationSnapshot
impl Clone for SessionSettingsValidationSnapshot
Source§fn clone(&self) -> SessionSettingsValidationSnapshot
fn clone(&self) -> SessionSettingsValidationSnapshot
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 Default for SessionSettingsValidationSnapshot
impl Default for SessionSettingsValidationSnapshot
Source§fn default() -> SessionSettingsValidationSnapshot
fn default() -> SessionSettingsValidationSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionSettingsValidationSnapshot
impl<'de> Deserialize<'de> for SessionSettingsValidationSnapshot
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 SessionSettingsValidationSnapshot
impl RefUnwindSafe for SessionSettingsValidationSnapshot
impl Send for SessionSettingsValidationSnapshot
impl Sync for SessionSettingsValidationSnapshot
impl Unpin for SessionSettingsValidationSnapshot
impl UnsafeUnpin for SessionSettingsValidationSnapshot
impl UnwindSafe for SessionSettingsValidationSnapshot
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