Enum fel4_config::FlatTomlValue
source · pub enum FlatTomlValue {
String(String),
Integer(i64),
Float(f64),
Boolean(bool),
Datetime(Datetime),
}
Expand description
A subset of toml::Value
that only includes non-nestable structures
Variants
String(String)
Represents a TOML string
Integer(i64)
Represents a TOML integer
Float(f64)
Represents a TOML float
Boolean(bool)
Represents a TOML boolean
Datetime(Datetime)
Represents a TOML datetime,
Trait Implementations
sourceimpl Clone for FlatTomlValue
impl Clone for FlatTomlValue
sourcefn clone(&self) -> FlatTomlValue
fn clone(&self) -> FlatTomlValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for FlatTomlValue
impl Debug for FlatTomlValue
sourceimpl PartialEq<FlatTomlValue> for FlatTomlValue
impl PartialEq<FlatTomlValue> for FlatTomlValue
sourcefn eq(&self, other: &FlatTomlValue) -> bool
fn eq(&self, other: &FlatTomlValue) -> bool
impl StructuralPartialEq for FlatTomlValue
Auto Trait Implementations
impl RefUnwindSafe for FlatTomlValue
impl Send for FlatTomlValue
impl Sync for FlatTomlValue
impl Unpin for FlatTomlValue
impl UnwindSafe for FlatTomlValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more