Rust

Crate root

Module
What utopia_config defines at its root.

Modules

Contents

use utopia_config::Instance;
Rust
pub struct Instance

A loaded config: the schema it was loaded with, and the value of each of its properties, in the schema's order.

Also implements Extension.
use utopia_config::Error;
Rust
pub enum Error

Why a config could not be parsed or loaded.

use utopia_config::narrow;
Rust
pub fn narrow(value: &Value) -> php_std::Value

A config value in php-std's plain model; a loaded config becomes a stdClass of its properties.

use utopia_config::widen;
Rust
pub fn widen(value: php_std::Value) -> Value

A value of php-std's plain model as a config value.

Rust
pub type Array = php_std::Array<Instance>

Undocumented.

Rust
pub type Value = php_std::Value<Instance>

Undocumented.