pub struct MemorySettings {
pub integrity_checks: Option<bool>,
pub prompt_injection_scan: Option<bool>,
pub quarantine_enabled: Option<bool>,
pub trust_levels: Option<bool>,
}Fields§
§integrity_checks: Option<bool>§prompt_injection_scan: Option<bool>§quarantine_enabled: Option<bool>§trust_levels: Option<bool>Trait Implementations§
Source§impl Clone for MemorySettings
impl Clone for MemorySettings
Source§fn clone(&self) -> MemorySettings
fn clone(&self) -> MemorySettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemorySettings
impl Debug for MemorySettings
Source§impl Default for MemorySettings
impl Default for MemorySettings
Source§fn default() -> MemorySettings
fn default() -> MemorySettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemorySettingswhere
MemorySettings: Default,
impl<'de> Deserialize<'de> for MemorySettingswhere
MemorySettings: 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
Source§impl PartialEq for MemorySettings
impl PartialEq for MemorySettings
Source§fn eq(&self, other: &MemorySettings) -> bool
fn eq(&self, other: &MemorySettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MemorySettings
impl Serialize for MemorySettings
impl StructuralPartialEq for MemorySettings
Auto Trait Implementations§
impl Freeze for MemorySettings
impl RefUnwindSafe for MemorySettings
impl Send for MemorySettings
impl Sync for MemorySettings
impl Unpin for MemorySettings
impl UnsafeUnpin for MemorySettings
impl UnwindSafe for MemorySettings
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