pub struct ContentConfig {
pub path: Option<String>,
}Expand description
Content storage configuration.
Fields§
§path: Option<String>Path to content directory.
Trait Implementations§
Source§impl Clone for ContentConfig
impl Clone for ContentConfig
Source§fn clone(&self) -> ContentConfig
fn clone(&self) -> ContentConfig
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 ContentConfig
impl Debug for ContentConfig
Source§impl Default for ContentConfig
impl Default for ContentConfig
Source§fn default() -> ContentConfig
fn default() -> ContentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentConfigwhere
ContentConfig: Default,
impl<'de> Deserialize<'de> for ContentConfigwhere
ContentConfig: 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
Auto Trait Implementations§
impl Freeze for ContentConfig
impl RefUnwindSafe for ContentConfig
impl Send for ContentConfig
impl Sync for ContentConfig
impl Unpin for ContentConfig
impl UnsafeUnpin for ContentConfig
impl UnwindSafe for ContentConfig
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