pub struct DocumentCacheConfig {
pub enabled: bool,
pub directory: Option<PathBuf>,
}Fields§
§enabled: bool§directory: Option<PathBuf>Implementations§
Source§impl DocumentCacheConfig
impl DocumentCacheConfig
pub fn normalized(&self) -> Self
Trait Implementations§
Source§impl Clone for DocumentCacheConfig
impl Clone for DocumentCacheConfig
Source§fn clone(&self) -> DocumentCacheConfig
fn clone(&self) -> DocumentCacheConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 DocumentCacheConfig
impl Debug for DocumentCacheConfig
Source§impl Default for DocumentCacheConfig
impl Default for DocumentCacheConfig
Source§impl<'de> Deserialize<'de> for DocumentCacheConfig
impl<'de> Deserialize<'de> for DocumentCacheConfig
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 DocumentCacheConfig
impl RefUnwindSafe for DocumentCacheConfig
impl Send for DocumentCacheConfig
impl Sync for DocumentCacheConfig
impl Unpin for DocumentCacheConfig
impl UnsafeUnpin for DocumentCacheConfig
impl UnwindSafe for DocumentCacheConfig
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