Skip to content

struct

Rendered

pub struct Rendered {
    pub path: String,
    pub file: PathBuf,
    pub interactive: bool,
    pub bytes: usize,
}

A page prerender_app wrote.

Fields

path

pub path: String

Its URL path (/blog/hello/), or the file's for the shell and 404.

file

pub file: PathBuf

The file written.

interactive

pub interactive: bool

Whether it loads the runtime (wasm).

bytes

pub bytes: usize

The file's size in bytes.

Trait implementations