Enum influxdb2::models::data_point::FieldValue
source · [−]Expand description
Possible value types
Variants
Bool(bool)
A true or false value
F64(f64)
A 64-bit floating point number
I64(i64)
A 64-bit signed integer number
String(String)
A string value
Trait Implementations
sourceimpl Clone for FieldValue
impl Clone for FieldValue
sourcefn clone(&self) -> FieldValue
fn clone(&self) -> FieldValue
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 more
sourceimpl Debug for FieldValue
impl Debug for FieldValue
sourceimpl From<&str> for FieldValue
impl From<&str> for FieldValue
sourceimpl From<String> for FieldValue
impl From<String> for FieldValue
sourceimpl From<bool> for FieldValue
impl From<bool> for FieldValue
sourceimpl From<f64> for FieldValue
impl From<f64> for FieldValue
sourceimpl From<i64> for FieldValue
impl From<i64> for FieldValue
sourceimpl PartialEq<FieldValue> for FieldValue
impl PartialEq<FieldValue> for FieldValue
sourcefn eq(&self, other: &FieldValue) -> bool
fn eq(&self, other: &FieldValue) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FieldValue) -> bool
fn ne(&self, other: &FieldValue) -> bool
This method tests for !=
.
impl StructuralPartialEq for FieldValue
Auto Trait Implementations
impl RefUnwindSafe for FieldValue
impl Send for FieldValue
impl Sync for FieldValue
impl Unpin for FieldValue
impl UnwindSafe for FieldValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more