pub struct UiConfig {
pub binaries: PerPlatform,
pub window_label: String,
pub mode: String,
pub feature: String,
pub build: Vec<String>,
pub package: Option<String>,
pub env: BTreeMap<String, String>,
pub rust_sources: Vec<String>,
pub cargo_toml: Option<String>,
pub package_json: Option<String>,
pub startup_timeout_s: Option<u64>,
}Fields§
§binaries: PerPlatform§window_label: String§mode: String§feature: String§build: Vec<String>Build command for the app itself (a debug build with the control feature).
package: Option<String>Cargo target name whose executable the build produces.
env: BTreeMap<String, String>§rust_sources: Vec<String>Source files the guard reads (relative to app_root).
cargo_toml: Option<String>§package_json: Option<String>§startup_timeout_s: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for UiConfig
impl<'de> Deserialize<'de> for UiConfig
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 UiConfig
impl RefUnwindSafe for UiConfig
impl Send for UiConfig
impl Sync for UiConfig
impl Unpin for UiConfig
impl UnsafeUnpin for UiConfig
impl UnwindSafe for UiConfig
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