pub struct LabelFormat {
pub dst: String,
pub value: LabelFormatValue,
}Expand description
One label_format assignment.
Fields§
§dst: StringDestination label.
value: LabelFormatValueEither a rename from another label or a Go-template string.
Trait Implementations§
Source§impl Clone for LabelFormat
impl Clone for LabelFormat
Source§impl Debug for LabelFormat
impl Debug for LabelFormat
Source§impl PartialEq for LabelFormat
impl PartialEq for LabelFormat
impl StructuralPartialEq for LabelFormat
Auto Trait Implementations§
impl Freeze for LabelFormat
impl RefUnwindSafe for LabelFormat
impl Send for LabelFormat
impl Sync for LabelFormat
impl Unpin for LabelFormat
impl UnsafeUnpin for LabelFormat
impl UnwindSafe for LabelFormat
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