Struct influxdb2::models::ast::property_key::PropertyKey
source · [−]pub struct PropertyKey {
pub type: Option<String>,
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
Key value pair
Fields
type: Option<String>
Type of AST node
name: Option<String>
PropertyKey name
value: Option<String>
PropertyKey value
Implementations
sourceimpl PropertyKey
impl PropertyKey
Trait Implementations
sourceimpl Clone for PropertyKey
impl Clone for PropertyKey
sourcefn clone(&self) -> PropertyKey
fn clone(&self) -> PropertyKey
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 PropertyKey
impl Debug for PropertyKey
sourceimpl Default for PropertyKey
impl Default for PropertyKey
sourcefn default() -> PropertyKey
fn default() -> PropertyKey
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PropertyKey
impl<'de> Deserialize<'de> for PropertyKey
sourcefn 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
sourceimpl PartialEq<PropertyKey> for PropertyKey
impl PartialEq<PropertyKey> for PropertyKey
sourcefn eq(&self, other: &PropertyKey) -> bool
fn eq(&self, other: &PropertyKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PropertyKey) -> bool
fn ne(&self, other: &PropertyKey) -> bool
This method tests for !=
.
sourceimpl Serialize for PropertyKey
impl Serialize for PropertyKey
impl StructuralPartialEq for PropertyKey
Auto Trait Implementations
impl RefUnwindSafe for PropertyKey
impl Send for PropertyKey
impl Sync for PropertyKey
impl Unpin for PropertyKey
impl UnwindSafe for PropertyKey
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