Trait rocket::config::IntoValue
[−]
[src]
pub trait IntoValue { fn into_value(self) -> Value; }
Conversion trait from standard types into TOML Value
s.
Required Methods
fn into_value(self) -> Value
Converts self
into a TOML Value
.
Implementors
impl<'a> IntoValue for &'a str
impl IntoValue for Value
impl<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 String
impl IntoValue for i64
impl IntoValue for isize
impl IntoValue for i32
impl IntoValue for i8
impl IntoValue for u8
impl IntoValue for u32
impl IntoValue for bool
impl IntoValue for f64
impl IntoValue for f32