pub enum CstInputValue {
Null,
Bool(bool),
Number(String),
String(String),
Array(Vec<CstInputValue>),
Object(Vec<(String, CstInputValue)>),
}
Expand description
API user provided value for inserts and replaces.
Variants§
Null
Bool(bool)
Number(String)
String(String)
Array(Vec<CstInputValue>)
Object(Vec<(String, CstInputValue)>)
Trait Implementations§
Source§impl Clone for CstInputValue
impl Clone for CstInputValue
Source§fn clone(&self) -> CstInputValue
fn clone(&self) -> CstInputValue
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CstInputValue
impl Debug for CstInputValue
Source§impl From<&str> for CstInputValue
impl From<&str> for CstInputValue
Source§impl From<String> for CstInputValue
impl From<String> for CstInputValue
Source§impl From<Vec<(String, CstInputValue)>> for CstInputValue
impl From<Vec<(String, CstInputValue)>> for CstInputValue
Source§impl<T> From<Vec<T>> for CstInputValuewhere
T: Into<CstInputValue>,
impl<T> From<Vec<T>> for CstInputValuewhere
T: Into<CstInputValue>,
Source§impl From<bool> for CstInputValue
impl From<bool> for CstInputValue
Source§impl From<f64> for CstInputValue
impl From<f64> for CstInputValue
Source§impl From<i32> for CstInputValue
impl From<i32> for CstInputValue
Source§impl From<i64> for CstInputValue
impl From<i64> for CstInputValue
Source§impl From<isize> for CstInputValue
impl From<isize> for CstInputValue
Source§impl From<u32> for CstInputValue
impl From<u32> for CstInputValue
Source§impl From<u64> for CstInputValue
impl From<u64> for CstInputValue
Auto Trait Implementations§
impl Freeze for CstInputValue
impl RefUnwindSafe for CstInputValue
impl Send for CstInputValue
impl Sync for CstInputValue
impl Unpin for CstInputValue
impl UnwindSafe for CstInputValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)