pub struct RawConfig {
pub package: PackageConfig,
pub build: Option<BuildConfig>,
pub dependencies: Option<HashMap<String, DependencyConfig>>,
pub dev_dependencies: Option<HashMap<String, DependencyConfig>>,
pub executables: Option<Vec<ProgramConfig>>,
pub tests: Option<Vec<ProgramConfig>>,
pub examples: Option<Vec<ProgramConfig>>,
pub features: Option<HashMap<String, Vec<String>>>,
pub target: Option<HashMap<String, ModeTableConfig>>,
pub feature: Option<HashMap<String, ModeTableConfig>>,
pub generator: Option<HashMap<String, ModeTableConfig>>,
}Fields§
§package: PackageConfig§build: Option<BuildConfig>§dependencies: Option<HashMap<String, DependencyConfig>>§dev_dependencies: Option<HashMap<String, DependencyConfig>>§executables: Option<Vec<ProgramConfig>>§tests: Option<Vec<ProgramConfig>>§examples: Option<Vec<ProgramConfig>>§features: Option<HashMap<String, Vec<String>>>§target: Option<HashMap<String, ModeTableConfig>>§feature: Option<HashMap<String, ModeTableConfig>>§generator: Option<HashMap<String, ModeTableConfig>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RawConfig
impl<'de> Deserialize<'de> for RawConfig
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 RawConfig
impl RefUnwindSafe for RawConfig
impl Send for RawConfig
impl Sync for RawConfig
impl Unpin for RawConfig
impl UnsafeUnpin for RawConfig
impl UnwindSafe for RawConfig
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