pub struct PlaygroundConfig {
pub default_agent: Option<String>,
pub load_env: Option<bool>,
}Expand description
Shared playground-scoped config fields used by root defaults and per-playground overrides.
Fields§
§default_agent: Option<String>Optional default agent id override.
load_env: Option<bool>Optional flag controlling .env loading in playground runs.
Trait Implementations§
Source§impl Clone for PlaygroundConfig
impl Clone for PlaygroundConfig
Source§fn clone(&self) -> PlaygroundConfig
fn clone(&self) -> PlaygroundConfig
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 PlaygroundConfig
impl Debug for PlaygroundConfig
Source§impl Default for PlaygroundConfig
impl Default for PlaygroundConfig
Source§fn default() -> PlaygroundConfig
fn default() -> PlaygroundConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlaygroundConfig
impl<'de> Deserialize<'de> for PlaygroundConfig
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
Source§impl JsonSchema for PlaygroundConfig
impl JsonSchema for PlaygroundConfig
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for PlaygroundConfig
impl PartialEq for PlaygroundConfig
Source§impl Serialize for PlaygroundConfig
impl Serialize for PlaygroundConfig
impl Eq for PlaygroundConfig
impl StructuralPartialEq for PlaygroundConfig
Auto Trait Implementations§
impl Freeze for PlaygroundConfig
impl RefUnwindSafe for PlaygroundConfig
impl Send for PlaygroundConfig
impl Sync for PlaygroundConfig
impl Unpin for PlaygroundConfig
impl UnsafeUnpin for PlaygroundConfig
impl UnwindSafe for PlaygroundConfig
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