pub enum DeviceFieldValidation {
Value(Option<Value>),
Issues(Vec<DeviceRequestIssue>),
}Expand description
A parsed field value or the field’s structured validation issues.
Variants§
Value(Option<Value>)
None preserves omission; Some(Value::Null) preserves an explicit null.
Issues(Vec<DeviceRequestIssue>)
Mark validation as failed, including when the issue list is empty.
Auto Trait Implementations§
impl Freeze for DeviceFieldValidation
impl RefUnwindSafe for DeviceFieldValidation
impl Send for DeviceFieldValidation
impl Sync for DeviceFieldValidation
impl Unpin for DeviceFieldValidation
impl UnsafeUnpin for DeviceFieldValidation
impl UnwindSafe for DeviceFieldValidation
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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