pub struct CacheSection {
pub enabled: bool,
pub dir: Option<String>,
}Fields§
§enabled: bool§dir: Option<String>Trait Implementations§
Source§impl Clone for CacheSection
impl Clone for CacheSection
Source§fn clone(&self) -> CacheSection
fn clone(&self) -> CacheSection
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 CacheSection
impl Debug for CacheSection
Source§impl Default for CacheSection
impl Default for CacheSection
Source§impl<'de> Deserialize<'de> for CacheSection
impl<'de> Deserialize<'de> for CacheSection
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 CacheSection
impl RefUnwindSafe for CacheSection
impl Send for CacheSection
impl Sync for CacheSection
impl Unpin for CacheSection
impl UnsafeUnpin for CacheSection
impl UnwindSafe for CacheSection
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