pub struct LineProtocolBuilderTags(/* private fields */);Expand description
Helper type for building a line protocol string (tags insertion).
Implementations§
Source§impl LineProtocolBuilderTags
impl LineProtocolBuilderTags
pub fn tag<T>(self, key: &str, value: &T) -> LineProtocolBuilderTagswhere
T: LineProtocolTag + ?Sized,
pub fn field<F>(self, key: &str, value: &F) -> LineProtocolBuilderFieldswhere
F: LineProtocolField + ?Sized,
Auto Trait Implementations§
impl Freeze for LineProtocolBuilderTags
impl RefUnwindSafe for LineProtocolBuilderTags
impl Send for LineProtocolBuilderTags
impl Sync for LineProtocolBuilderTags
impl Unpin for LineProtocolBuilderTags
impl UnsafeUnpin for LineProtocolBuilderTags
impl UnwindSafe for LineProtocolBuilderTags
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