pub struct Set<'a> {
pub id: &'a str,
pub value: Option<i64>,
}
Expand description
Store the collected values.
SET id = [value]
If a value is not collected, leave it empty, like this: SET id =
or do not output the line at all.
Fields§
§id: &'a str
The unique identification of the Dimension (of the chart just began)
value: Option<i64>
the collected value, only integer values are collected.
If you want to push fractional values, multiply this value
by 100 or 1000 and set the DIMENSION divider to 1000.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Set<'a>
impl<'a> RefUnwindSafe for Set<'a>
impl<'a> Send for Set<'a>
impl<'a> Sync for Set<'a>
impl<'a> Unpin for Set<'a>
impl<'a> UnwindSafe for Set<'a>
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