Enum flats::Scalar [−][src]
Container for singlar, scalar values
Variants
Bool(bool)
A single boolean value
Number(Number)
a single numeric value
String(String)
a single string value
Null
A null value (only particular to json serialized data)
Trait Implementations
impl Debug for Scalar
[src]
impl Debug for Scalar
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Scalar
[src]
impl PartialEq for Scalar
fn eq(&self, other: &Scalar) -> bool
[src]
fn eq(&self, other: &Scalar) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Scalar) -> bool
[src]
fn ne(&self, other: &Scalar) -> bool
This method tests for !=
.
impl Clone for Scalar
[src]
impl Clone for Scalar
fn clone(&self) -> Scalar
[src]
fn clone(&self) -> Scalar
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Display for Scalar
[src]
impl Display for Scalar
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<i8> for Scalar
[src]
impl From<i8> for Scalar
impl From<i16> for Scalar
[src]
impl From<i16> for Scalar
impl From<i32> for Scalar
[src]
impl From<i32> for Scalar
impl From<i64> for Scalar
[src]
impl From<i64> for Scalar
impl From<isize> for Scalar
[src]
impl From<isize> for Scalar
impl From<u8> for Scalar
[src]
impl From<u8> for Scalar
impl From<u16> for Scalar
[src]
impl From<u16> for Scalar
impl From<u32> for Scalar
[src]
impl From<u32> for Scalar
impl From<u64> for Scalar
[src]
impl From<u64> for Scalar
impl From<usize> for Scalar
[src]
impl From<usize> for Scalar
impl From<f32> for Scalar
[src]
impl From<f32> for Scalar
impl From<f64> for Scalar
[src]
impl From<f64> for Scalar
impl From<bool> for Scalar
[src]
impl From<bool> for Scalar
impl From<String> for Scalar
[src]
impl From<String> for Scalar
impl<'a> From<&'a str> for Scalar
[src]
impl<'a> From<&'a str> for Scalar
impl<'a> From<Cow<'a, str>> for Scalar
[src]
impl<'a> From<Cow<'a, str>> for Scalar