Skip to content

enum

Load

pub enum Load {
    Build,
    Browser,
    Both,
}

When data loads.

Variants

Build

Build

During the build, into the page. Never fetched by visitors.

Browser

Browser

In each visitor's browser.

Both

Both

During the build, then refreshed in the browser.

Methods

at_build

pub fn at_build(self) -> bool

Whether it loads during the build.

in_browser

pub fn in_browser(self) -> bool

Whether it loads in the browser.

Trait implementations