pub struct DuplicateFieldError {
pub field_name: &'static str,
pub first_path: FieldPath,
pub second_path: FieldPath,
}Expand description
Error when building a resolution.
Fields§
§field_name: &'static strThe duplicate field name
first_path: FieldPathThe first path where this field was found
second_path: FieldPathThe second path where this field was found
Trait Implementations§
Source§impl Clone for DuplicateFieldError
impl Clone for DuplicateFieldError
Source§fn clone(&self) -> DuplicateFieldError
fn clone(&self) -> DuplicateFieldError
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 DuplicateFieldError
impl Debug for DuplicateFieldError
Source§impl Display for DuplicateFieldError
impl Display for DuplicateFieldError
Source§impl From<DuplicateFieldError> for SchemaError
impl From<DuplicateFieldError> for SchemaError
Source§fn from(err: DuplicateFieldError) -> Self
fn from(err: DuplicateFieldError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DuplicateFieldError
impl RefUnwindSafe for DuplicateFieldError
impl Send for DuplicateFieldError
impl Sync for DuplicateFieldError
impl Unpin for DuplicateFieldError
impl UnwindSafe for DuplicateFieldError
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