pub struct WidgetDiagnostic {
pub name: String,
pub value: String,
}Expand description
One opt-in diagnostic value published by a widget for live inspection.
Values are deliberately presentation-neutral strings. Widgets should expose compact operational state here (cache sizes, visible ranges, parser revisions, and similar data), never user content or other sensitive data.
Fields§
§name: String§value: StringTrait Implementations§
Source§impl Clone for WidgetDiagnostic
impl Clone for WidgetDiagnostic
Source§impl Debug for WidgetDiagnostic
impl Debug for WidgetDiagnostic
impl Eq for WidgetDiagnostic
Source§impl PartialEq for WidgetDiagnostic
impl PartialEq for WidgetDiagnostic
impl StructuralPartialEq for WidgetDiagnostic
Auto Trait Implementations§
impl Forget for WidgetDiagnostic
impl Freeze for WidgetDiagnostic
impl Move for WidgetDiagnostic
impl RefUnwindSafe for WidgetDiagnostic
impl Send for WidgetDiagnostic
impl Sync for WidgetDiagnostic
impl Unpin for WidgetDiagnostic
impl UnsafeUnpin for WidgetDiagnostic
impl UnwindSafe for WidgetDiagnostic
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