pub struct FieldName(/* private fields */);
Expand description
Represent a field value
Implementations§
Source§impl FieldName
impl FieldName
Sourcepub fn escape_to_line_protocol(&self) -> String
pub fn escape_to_line_protocol(&self) -> String
Escape a field name to InfluxDB line protocol
The name is enclosed in double quotes, and characters
, ,
and =
are escaped.
Trait Implementations§
impl Eq for FieldName
impl StructuralPartialEq for FieldName
Auto Trait Implementations§
impl Freeze for FieldName
impl RefUnwindSafe for FieldName
impl Send for FieldName
impl Sync for FieldName
impl Unpin for FieldName
impl UnwindSafe for FieldName
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.