pub struct SettingsDocuments {
pub user: Option<Value>,
pub project_local: Option<Value>,
pub preferences: Option<Value>,
}Expand description
Three raw settings documents, each None when the underlying
file is absent or unreadable. Malformed JSON also yields None -
consumers that care about distinguishing missing vs. corrupt
should re-read directly.
Fields§
§user: Option<Value><config_dir>/settings.json - user-scope settings.
project_local: Option<Value><cwd>/.claude/settings.local.json - project-local overrides.
preferences: Option<Value>$HOME/.claude.json - per-user preferences.
Trait Implementations§
Source§impl Clone for SettingsDocuments
impl Clone for SettingsDocuments
Source§impl Debug for SettingsDocuments
impl Debug for SettingsDocuments
Auto Trait Implementations§
impl Freeze for SettingsDocuments
impl RefUnwindSafe for SettingsDocuments
impl Send for SettingsDocuments
impl Sync for SettingsDocuments
impl Unpin for SettingsDocuments
impl UnsafeUnpin for SettingsDocuments
impl UnwindSafe for SettingsDocuments
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