pub struct Settings {
pub schema: i64,
pub theme: Option<Theme>,
pub apply_mode: Option<ApplyMode>,
pub new_server_enable: Option<NewItemEnable>,
pub new_skill_enable: Option<NewItemEnable>,
pub agents_cli_compat: Option<bool>,
pub list_view: Option<Table>,
pub extra: Table,
}Fields§
§schema: i64Schema version; always 1.
theme: Option<Theme>§apply_mode: Option<ApplyMode>§new_server_enable: Option<NewItemEnable>§new_skill_enable: Option<NewItemEnable>§agents_cli_compat: Option<bool>Scan ~/.agents/skills read-only (SPEC 12.4).
list_view: Option<Table>List view preferences, owned by the GUI.
extra: TableImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
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 Settings
impl JsonSchema for Settings
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 StoreModel for Settings
impl StoreModel for Settings
Source§const SCHEMA_NAME: &'static str = "settings"
const SCHEMA_NAME: &'static str = "settings"
File stem of the generated JSON Schema:
docs/schema/<NAME>.schema.json.impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Forget for Settings
impl Freeze for Settings
impl Move for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settingswhere
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for Settings
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