pub struct BuildResult {
pub protocol: WebUIProtocol,
pub protocol_bytes: Vec<u8>,
pub css_files: Vec<(String, String)>,
pub component_templates: Vec<ComponentTemplateArtifact>,
pub stats: BuildStats,
}Expand description
Result of a successful build.
Fields§
§protocol: WebUIProtocolThe compiled WebUI protocol.
protocol_bytes: Vec<u8>Serialized protocol bytes (protobuf binary).
css_files: Vec<(String, String)>Component CSS files: (filename, content) — only components referenced in the protocol.
component_templates: Vec<ComponentTemplateArtifact>Component client template payloads. Includes templates for all components encountered during parsing, including route-referenced components.
stats: BuildStatsBuild statistics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuildResult
impl RefUnwindSafe for BuildResult
impl Send for BuildResult
impl Sync for BuildResult
impl Unpin for BuildResult
impl UnsafeUnpin for BuildResult
impl UnwindSafe for BuildResult
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