pub struct FieldOrderingError {
pub position: usize,
pub current_fid: FieldId,
pub previous_fid: FieldId,
}Expand description
Error returned when field ordering validation fails
Fields§
§position: usizePosition (index) where the ordering violation was found
current_fid: FieldIdFID of the field at the violation position
previous_fid: FieldIdFID of the previous field (which is greater than current_fid)
Trait Implementations§
Source§impl Clone for FieldOrderingError
impl Clone for FieldOrderingError
Source§fn clone(&self) -> FieldOrderingError
fn clone(&self) -> FieldOrderingError
Returns a duplicate of the value. Read more
1.0.0 · 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 FieldOrderingError
impl Debug for FieldOrderingError
Source§impl Display for FieldOrderingError
impl Display for FieldOrderingError
Source§impl Error for FieldOrderingError
impl Error for FieldOrderingError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for FieldOrderingError
impl PartialEq for FieldOrderingError
impl StructuralPartialEq for FieldOrderingError
Auto Trait Implementations§
impl Freeze for FieldOrderingError
impl RefUnwindSafe for FieldOrderingError
impl Send for FieldOrderingError
impl Sync for FieldOrderingError
impl Unpin for FieldOrderingError
impl UnwindSafe for FieldOrderingError
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