pub struct Profile {
pub description: Option<String>,
pub workbench: Option<String>,
pub env: Option<HashMap<String, String>>,
pub features: Option<HashMap<String, bool>>,
pub rhai_script: Option<String>,
}Expand description
A build profile configuration
Fields§
§description: Option<String>Human-readable description
workbench: Option<String>Workbench type for this profile
env: Option<HashMap<String, String>>Static environment variables for this profile
features: Option<HashMap<String, bool>>Feature flags for this profile
rhai_script: Option<String>Path to Rhai script for this profile
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Profile
impl<'de> Deserialize<'de> for Profile
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 Profile
impl RefUnwindSafe for Profile
impl Send for Profile
impl Sync for Profile
impl Unpin for Profile
impl UnwindSafe for Profile
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