pub struct ItemError {
pub index: usize,
pub family: ItemFamily,
pub gts_type: Option<GtsTypeId>,
pub pointer: Option<String>,
pub message: String,
}Expand description
One per-item validation failure. A batch with any of these commits nothing.
Fields§
§index: usize§family: ItemFamily§gts_type: Option<GtsTypeId>§pointer: Option<String>JSON pointer to the offending value, when the failure is positional.
message: StringTrait Implementations§
impl Eq for ItemError
impl StructuralPartialEq for ItemError
Auto Trait Implementations§
impl Freeze for ItemError
impl RefUnwindSafe for ItemError
impl Send for ItemError
impl Sync for ItemError
impl Unpin for ItemError
impl UnsafeUnpin for ItemError
impl UnwindSafe for ItemError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.