pub struct TrustedDocumentsConfig {
pub enabled: bool,
pub mode: TrustedDocumentMode,
pub manifest_path: Option<String>,
pub manifest_url: Option<String>,
pub reload_interval_secs: u64,
}Expand description
Trusted documents / query allowlist configuration for
[security.trusted_documents].
Fields§
§enabled: boolEnable trusted documents.
mode: TrustedDocumentModeEnforcement mode: strict or permissive.
manifest_path: Option<String>Path to the trusted documents manifest JSON file.
manifest_url: Option<String>URL to fetch the trusted documents manifest from at startup.
reload_interval_secs: u64Poll interval in seconds for hot-reloading the manifest (0 = no reload).
Trait Implementations§
Source§impl Clone for TrustedDocumentsConfig
impl Clone for TrustedDocumentsConfig
Source§impl Debug for TrustedDocumentsConfig
impl Debug for TrustedDocumentsConfig
Source§impl Default for TrustedDocumentsConfig
impl Default for TrustedDocumentsConfig
Source§impl<'de> Deserialize<'de> for TrustedDocumentsConfigwhere
TrustedDocumentsConfig: Default,
impl<'de> Deserialize<'de> for TrustedDocumentsConfigwhere
TrustedDocumentsConfig: Default,
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
impl Eq for TrustedDocumentsConfig
Source§impl PartialEq for TrustedDocumentsConfig
impl PartialEq for TrustedDocumentsConfig
Source§impl Serialize for TrustedDocumentsConfig
impl Serialize for TrustedDocumentsConfig
impl StructuralPartialEq for TrustedDocumentsConfig
Auto Trait Implementations§
impl Freeze for TrustedDocumentsConfig
impl RefUnwindSafe for TrustedDocumentsConfig
impl Send for TrustedDocumentsConfig
impl Sync for TrustedDocumentsConfig
impl Unpin for TrustedDocumentsConfig
impl UnsafeUnpin for TrustedDocumentsConfig
impl UnwindSafe for TrustedDocumentsConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.