Enum toml_edit::Value [−][src]
pub enum Value { Integer(Formatted<i64>), String(Formatted<String>), Float(Formatted<f64>), DateTime(Formatted<DateTime>), Boolean(Formatted<bool>), Array(Array), InlineTable(InlineTable), }
Expand description
Representation of a TOML Value (as part of a Key/Value Pair).
Variants
Integer(Formatted<i64>)
A 64-bit integer value.
String(Formatted<String>)
A string value.
Float(Formatted<f64>)
A 64-bit float value.
A Date-Time value.
Boolean(Formatted<bool>)
A boolean value.
Array(Array)
An inline array of values.
InlineTable(InlineTable)
An inline table of key/value pairs.
Implementations
Downcasting
Casts self
to integer.
Returns true iff self
is an integer.
Casts self
to date-time.
Returns true iff self
is a date-time.
Casts self
to mutable array.
Casts self
to inline table.
Casts self
to mutable inline table.
Returns true iff self
is an inline table.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more