pub struct PrivacySettings {
pub remember_recent_searches: bool,
pub diagnostics_include_paths: bool,
pub diagnostics_include_recent_searches: bool,
}Expand description
Privacy preferences (RFC-039 §17, as amended 2026-09-25, Task 115).
Privacy is orbok’s fixed safe defaults – everything is processed on this
computer, and text-bearing caches are cleared from Storage – plus one
control, Remember recent searches. There is no privacy mode: the mode
that used to sit here could not be set from any screen, and its only
effect was reachable by hand-editing settings.json.
Fields§
§remember_recent_searches: boolWhether to persist recent search queries. The whole truth about whether a search is recorded.
diagnostics_include_paths: boolWhether diagnostics may include raw filesystem paths (RFC-040).
diagnostics_include_recent_searches: boolWhether diagnostics may include recent search queries (RFC-040).
Implementations§
Source§impl PrivacySettings
impl PrivacySettings
Sourcepub fn effective_recent_searches(&self) -> bool
pub fn effective_recent_searches(&self) -> bool
Whether recent searches are recorded: just the toggle.
Trait Implementations§
Source§impl Clone for PrivacySettings
impl Clone for PrivacySettings
Source§impl Debug for PrivacySettings
impl Debug for PrivacySettings
Source§impl Default for PrivacySettings
impl Default for PrivacySettings
Source§impl<'de> Deserialize<'de> for PrivacySettings
impl<'de> Deserialize<'de> for PrivacySettings
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 PrivacySettings
impl RefUnwindSafe for PrivacySettings
impl Send for PrivacySettings
impl Sync for PrivacySettings
impl Unpin for PrivacySettings
impl UnsafeUnpin for PrivacySettings
impl UnwindSafe for PrivacySettings
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