pub struct CompiledOutput {
pub html: String,
pub assets: HashMap<String, Vec<u8>>,
pub actions: Vec<ActionHandler>,
pub meta: ProjectMeta,
}Expand description
The compiled output from the Voce compiler, ready for deployment.
Fields§
§html: StringThe main HTML file content.
assets: HashMap<String, Vec<u8>>Asset files: filename → bytes (images, fonts, etc.).
actions: Vec<ActionHandler>Server-side action handlers extracted from ActionNodes.
meta: ProjectMetaProject metadata.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompiledOutput
impl RefUnwindSafe for CompiledOutput
impl Send for CompiledOutput
impl Sync for CompiledOutput
impl Unpin for CompiledOutput
impl UnsafeUnpin for CompiledOutput
impl UnwindSafe for CompiledOutput
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