pub struct ConfigValue(/* private fields */);Expand description
A struct that ensures all values are safe for JSON serialization, including handling special
floating point values like NaN and Infinity. Use the From<&str> implementation to create an instance.
Trait Implementations§
Source§impl From<ConfigValue> for Value
impl From<ConfigValue> for Value
Source§fn from(value: ConfigValue) -> Self
fn from(value: ConfigValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConfigValue
impl RefUnwindSafe for ConfigValue
impl Send for ConfigValue
impl Sync for ConfigValue
impl Unpin for ConfigValue
impl UnwindSafe for ConfigValue
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more