spin_factors::runtime_config::toml

Trait GetTomlValue

Source
pub trait GetTomlValue {
    // Required method
    fn get(&self, key: &str) -> Option<&Value>;
}
Expand description

A trait for getting a TOML value by key.

Required Methods§

Source

fn get(&self, key: &str) -> Option<&Value>

Implementations on Foreign Types§

Source§

impl GetTomlValue for Table

Source§

fn get(&self, key: &str) -> Option<&Value>

Implementors§