Struct wash_lib::parser::ProjectConfig
source · [−]pub struct ProjectConfig {
pub language: LanguageConfig,
pub project_type: TypeConfig,
pub common: CommonConfig,
}Fields
language: LanguageConfigThe language of the project, e.g. rust, tinygo. Contains specific configuration for that language.
project_type: TypeConfigThe type of project, e.g. actor, provider, interface. Contains the specific configuration for that type. This is renamed to “type” but is named project_type here to avoid clashing with the type keyword in Rust.
common: CommonConfigConfiguration common amoung all project types & languages.
Trait Implementations
sourceimpl Clone for ProjectConfig
impl Clone for ProjectConfig
sourcefn clone(&self) -> ProjectConfig
fn clone(&self) -> ProjectConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ProjectConfig
impl Debug for ProjectConfig
sourceimpl<'de> Deserialize<'de> for ProjectConfig
impl<'de> Deserialize<'de> for ProjectConfig
sourcefn 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 RefUnwindSafe for ProjectConfig
impl Send for ProjectConfig
impl Sync for ProjectConfig
impl Unpin for ProjectConfig
impl UnwindSafe for ProjectConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more