pub struct ContentSetup {
pub base_path: String,
pub add_templates: bool,
pub add_javascript: bool,
pub add_stylesheet: bool,
pub add_fonts: bool,
pub add_images: bool,
pub add_files: bool,
pub add_error: bool,
pub add_views: bool,
pub add_applets: bool,
pub add_cms: bool,
}
Fields§
§base_path: String
§add_templates: bool
§add_javascript: bool
§add_stylesheet: bool
§add_fonts: bool
§add_images: bool
§add_files: bool
§add_error: bool
§add_views: bool
§add_applets: bool
§add_cms: bool
Implementations§
Source§impl ContentSetup
impl ContentSetup
Trait Implementations§
Source§impl Clone for ContentSetup
impl Clone for ContentSetup
Source§fn clone(&self) -> ContentSetup
fn clone(&self) -> ContentSetup
Returns a copy 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 ContentSetup
impl Debug for ContentSetup
Source§impl Default for ContentSetup
impl Default for ContentSetup
Source§fn default() -> ContentSetup
fn default() -> ContentSetup
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentSetup
impl<'de> Deserialize<'de> for ContentSetup
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 ContentSetup
impl RefUnwindSafe for ContentSetup
impl Send for ContentSetup
impl Sync for ContentSetup
impl Unpin for ContentSetup
impl UnwindSafe for ContentSetup
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