Struct wash_lib::parser::CommonConfig
source · pub struct CommonConfig {
pub name: String,
pub version: Version,
pub path: PathBuf,
pub wasm_bin_name: Option<String>,
}Expand description
Configuration common amoung all project types & languages.
Fields§
§name: StringName of the project.
version: VersionSemantic version of the project.
path: PathBufPath to the project directory to determine where built and signed artifacts should be
wasm_bin_name: Option<String>Expected name of the wasm module binary that will be generated (if not present, name is expected to be used as a fallback)
Trait Implementations§
source§impl Clone for CommonConfig
impl Clone for CommonConfig
source§fn clone(&self) -> CommonConfig
fn clone(&self) -> CommonConfig
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 CommonConfig
impl Debug for CommonConfig
source§impl<'de> Deserialize<'de> for CommonConfig
impl<'de> Deserialize<'de> for CommonConfig
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 PartialEq<CommonConfig> for CommonConfig
impl PartialEq<CommonConfig> for CommonConfig
source§fn eq(&self, other: &CommonConfig) -> bool
fn eq(&self, other: &CommonConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CommonConfig
impl StructuralEq for CommonConfig
impl StructuralPartialEq for CommonConfig
Auto Trait Implementations§
impl RefUnwindSafe for CommonConfig
impl Send for CommonConfig
impl Sync for CommonConfig
impl Unpin for CommonConfig
impl UnwindSafe for CommonConfig
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.