pub struct ErrorField {
pub id: WidgetId,
pub description: String,
}Expand description
A form field proven to have a descriptive error message.
Only constructible through a WcagErrorFactory method.
Fields§
§id: WidgetIdWidget identifier.
description: StringDescriptive error text.
Trait Implementations§
Source§impl Clone for ErrorField
impl Clone for ErrorField
Source§fn clone(&self) -> ErrorField
fn clone(&self) -> ErrorField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorField
impl Debug for ErrorField
Source§impl PartialEq for ErrorField
impl PartialEq for ErrorField
Source§fn eq(&self, other: &ErrorField) -> bool
fn eq(&self, other: &ErrorField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ErrorField
Auto Trait Implementations§
impl Freeze for ErrorField
impl RefUnwindSafe for ErrorField
impl Send for ErrorField
impl Sync for ErrorField
impl Unpin for ErrorField
impl UnsafeUnpin for ErrorField
impl UnwindSafe for ErrorField
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