pub struct StarterConfig {
pub description: Option<String>,
pub default_dir: Option<PathBuf>,
pub main_file: Option<String>,
pub preview: Option<PreviewConfig>,
}Fields§
§description: Option<String>§default_dir: Option<PathBuf>§main_file: Option<String>§preview: Option<PreviewConfig>Trait Implementations§
Source§impl Clone for StarterConfig
impl Clone for StarterConfig
Source§fn clone(&self) -> StarterConfig
fn clone(&self) -> StarterConfig
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 StarterConfig
impl Debug for StarterConfig
Source§impl<'de> Deserialize<'de> for StarterConfig
impl<'de> Deserialize<'de> for StarterConfig
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 FromStr for StarterConfig
impl FromStr for StarterConfig
Auto Trait Implementations§
impl Freeze for StarterConfig
impl RefUnwindSafe for StarterConfig
impl Send for StarterConfig
impl Sync for StarterConfig
impl Unpin for StarterConfig
impl UnsafeUnpin for StarterConfig
impl UnwindSafe for StarterConfig
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