Enum toml_edit::Value [−][src]
pub enum Value {
String(Formatted<String>),
Integer(Formatted<i64>),
Float(Formatted<f64>),
Boolean(Formatted<bool>),
Datetime(Formatted<Datetime>),
Array(Array),
InlineTable(InlineTable),
}
Expand description
Representation of a TOML Value (as part of a Key/Value Pair).
Variants
A string value.
A 64-bit integer value.
A 64-bit float value.
A boolean value.
An RFC 3339 formatted date-time with offset.
Array(Array)
An inline array of values.
Tuple Fields of Array
0: Array
InlineTable(InlineTable)
An inline table of key/value pairs.
Tuple Fields of InlineTable
0: InlineTable
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
Performs the conversion.
Performs the conversion.
Performs the conversion.
Creates a value from an iterator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Value
impl UnwindSafe for Value
Blanket Implementations
Mutably borrows from an owned value. Read more