Enum grafana_plugin_sdk::data::TypeInfoType
source · pub enum TypeInfoType {
Show 13 variants
Int8,
Int16,
Int32,
Int64,
UInt8,
UInt16,
UInt32,
UInt64,
Float32,
Float64,
String,
Bool,
Time,
}
Expand description
Valid types understood by Grafana.
Variants§
Int8
An 8 bit signed integer.
Int16
A 16 bit signed integer.
Int32
A 32 bit signed integer.
Int64
A 64 bit signed integer.
UInt8
An 8 bit unsigned integer.
UInt16
A 16 bit unsigned integer.
UInt32
A 32 bit unsigned integer.
UInt64
A 64 bit unsigned integer.
Float32
A 32 bit float.
Float64
A 64 bit float.
String
A string.
Bool
A boolean.
Time
A timestamp, in UTC.
Trait Implementations§
source§impl Clone for TypeInfoType
impl Clone for TypeInfoType
source§fn clone(&self) -> TypeInfoType
fn clone(&self) -> TypeInfoType
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 TypeInfoType
impl Debug for TypeInfoType
source§impl<'de> Deserialize<'de> for TypeInfoType
impl<'de> Deserialize<'de> for TypeInfoType
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 From<TypeInfoType> for DataType
impl From<TypeInfoType> for DataType
source§fn from(other: TypeInfoType) -> Self
fn from(other: TypeInfoType) -> Self
Converts to this type from the input type.
source§impl From<TypeInfoType> for DataType
impl From<TypeInfoType> for DataType
source§fn from(other: TypeInfoType) -> Self
fn from(other: TypeInfoType) -> Self
Converts to this type from the input type.
source§impl PartialEq for TypeInfoType
impl PartialEq for TypeInfoType
source§fn eq(&self, other: &TypeInfoType) -> bool
fn eq(&self, other: &TypeInfoType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TypeInfoType
impl Serialize for TypeInfoType
source§impl TryFrom<&DataType> for TypeInfoType
impl TryFrom<&DataType> for TypeInfoType
source§impl TryFrom<&DataType> for TypeInfoType
impl TryFrom<&DataType> for TypeInfoType
impl Copy for TypeInfoType
impl Eq for TypeInfoType
impl StructuralEq for TypeInfoType
impl StructuralPartialEq for TypeInfoType
Auto Trait Implementations§
impl RefUnwindSafe for TypeInfoType
impl Send for TypeInfoType
impl Sync for TypeInfoType
impl Unpin for TypeInfoType
impl UnwindSafe for TypeInfoType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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