Trait rocket::config::IntoValue
[−]
[src]
pub trait IntoValue {
fn into_value(self) -> Value;
}Conversion trait from standard types into TOML Values.
Required Methods
fn into_value(self) -> Value
Converts self into a TOML Value.
Implementors
impl<'a> IntoValue for &'a strimpl IntoValue for Valueimpl<V: IntoValue> IntoValue for Vec<V>impl<S: Into<String>, V: IntoValue> IntoValue for BTreeMap<S, V>impl<S: Into<String> + Hash + Eq, V: IntoValue> IntoValue for HashMap<S, V>impl IntoValue for Stringimpl IntoValue for i64impl IntoValue for isizeimpl IntoValue for i32impl IntoValue for i8impl IntoValue for u8impl IntoValue for u32impl IntoValue for boolimpl IntoValue for f64impl IntoValue for f32