Struct grafana_plugin_sdk::data::ConfFloat64
source · pub struct ConfFloat64(/* private fields */);
Expand description
A wrapper around an Option<f64>
used in various backend data structures, with custom NaN and Infinity serialization.
Trait Implementations§
source§impl Clone for ConfFloat64
impl Clone for ConfFloat64
source§fn clone(&self) -> ConfFloat64
fn clone(&self) -> ConfFloat64
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 ConfFloat64
impl Debug for ConfFloat64
source§impl<'de> Deserialize<'de> for ConfFloat64
impl<'de> Deserialize<'de> for ConfFloat64
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ConfFloat64
impl PartialEq for ConfFloat64
source§fn eq(&self, other: &ConfFloat64) -> bool
fn eq(&self, other: &ConfFloat64) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConfFloat64
impl Serialize for ConfFloat64
impl Copy for ConfFloat64
impl StructuralPartialEq for ConfFloat64
Auto Trait Implementations§
impl RefUnwindSafe for ConfFloat64
impl Send for ConfFloat64
impl Sync for ConfFloat64
impl Unpin for ConfFloat64
impl UnwindSafe for ConfFloat64
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request