pub enum ScalarValue {
Nil,
Bool(bool),
Number(NumberType),
Str(String),
Array(Vec<ScalarValue>),
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for ScalarValue
impl Clone for ScalarValue
source§fn clone(&self) -> ScalarValue
fn clone(&self) -> ScalarValue
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 ScalarValue
impl Debug for ScalarValue
source§impl From<&ScalarValue> for NandoArgument
impl From<&ScalarValue> for NandoArgument
source§fn from(value: &ScalarValue) -> Self
fn from(value: &ScalarValue) -> Self
Converts to this type from the input type.
source§impl From<&ScalarValue> for Value
impl From<&ScalarValue> for Value
source§fn from(value: &ScalarValue) -> Self
fn from(value: &ScalarValue) -> Self
Converts to this type from the input type.
source§impl From<&Value> for ScalarValue
impl From<&Value> for ScalarValue
source§fn from(value: &SerdeJsonValue) -> Self
fn from(value: &SerdeJsonValue) -> Self
Converts to this type from the input type.
source§impl<V> From<Option<V>> for ScalarValuewhere
V: Into<ScalarValue>,
impl<V> From<Option<V>> for ScalarValuewhere V: Into<ScalarValue>,
source§impl From<String> for ScalarValue
impl From<String> for ScalarValue
source§impl From<bool> for ScalarValue
impl From<bool> for ScalarValue
source§impl From<i32> for ScalarValue
impl From<i32> for ScalarValue
source§impl From<u128> for ScalarValue
impl From<u128> for ScalarValue
source§impl From<u64> for ScalarValue
impl From<u64> for ScalarValue
source§impl From<usize> for ScalarValue
impl From<usize> for ScalarValue
source§impl TryInto<String> for &ScalarValue
impl TryInto<String> for &ScalarValue
source§impl TryInto<bool> for &ScalarValue
impl TryInto<bool> for &ScalarValue
source§impl TryInto<i32> for &ScalarValue
impl TryInto<i32> for &ScalarValue
source§impl TryInto<u128> for &ScalarValue
impl TryInto<u128> for &ScalarValue
source§impl TryInto<u64> for &ScalarValue
impl TryInto<u64> for &ScalarValue
source§impl TryInto<u8> for &ScalarValue
impl TryInto<u8> for &ScalarValue
Auto Trait Implementations§
impl RefUnwindSafe for ScalarValue
impl Send for ScalarValue
impl Sync for ScalarValue
impl Unpin for ScalarValue
impl UnwindSafe for ScalarValue
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