pub struct As {
pub name: Metric,
}Expand description
Rename the output as a new metric
Fields§
§name: MetricThe new name for the metric
Trait Implementations§
Source§impl<'de> Deserialize<'de> for As
impl<'de> Deserialize<'de> for As
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
Auto Trait Implementations§
impl Freeze for As
impl RefUnwindSafe for As
impl Send for As
impl Sync for As
impl Unpin for As
impl UnsafeUnpin for As
impl UnwindSafe for As
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