pub struct HostBuild {
pub browser: bool,
pub terminal: bool,
pub proxy: bool,
}Expand description
What the host binary was compiled with, recorded once at boot.
A capability is available only when the build carries it and the app
declares it in lingxia.yaml; the declaration accessors above answer the
second half. Defaults to all-false so a host that never records its build
(tests, tools) reports nothing rather than over-promising.
Fields§
§browser: bool§terminal: bool§proxy: boolTrait Implementations§
impl Copy for HostBuild
impl Eq for HostBuild
impl StructuralPartialEq for HostBuild
Auto Trait Implementations§
impl Freeze for HostBuild
impl RefUnwindSafe for HostBuild
impl Send for HostBuild
impl Sync for HostBuild
impl Unpin for HostBuild
impl UnsafeUnpin for HostBuild
impl UnwindSafe for HostBuild
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