pub struct Unwrap {
pub label: String,
pub conversion: Option<String>,
}Expand description
An unwrap stage: the label to unwrap plus an optional conversion.
Fields§
§label: StringLabel whose value is unwrapped into a sample value.
conversion: Option<String>Conversion function wrapping the label, e.g. duration or
bytes in unwrap duration(latency).
Trait Implementations§
impl StructuralPartialEq for Unwrap
Auto Trait Implementations§
impl Freeze for Unwrap
impl RefUnwindSafe for Unwrap
impl Send for Unwrap
impl Sync for Unwrap
impl Unpin for Unwrap
impl UnsafeUnpin for Unwrap
impl UnwindSafe for Unwrap
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