Enum jsonapi_rs::api::DiffPatchError
source · pub enum DiffPatchError {
IncompatibleTypes(String, String),
DifferentAttributeKeys,
NonExistentProperty(String),
IncorrectPropertyValue(String),
}
Variants§
IncompatibleTypes(String, String)
DifferentAttributeKeys
NonExistentProperty(String)
IncorrectPropertyValue(String)
Trait Implementations§
source§impl Clone for DiffPatchError
impl Clone for DiffPatchError
source§fn clone(&self) -> DiffPatchError
fn clone(&self) -> DiffPatchError
Returns a copy 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 DiffPatchError
impl Debug for DiffPatchError
source§impl PartialEq for DiffPatchError
impl PartialEq for DiffPatchError
source§fn eq(&self, other: &DiffPatchError) -> bool
fn eq(&self, other: &DiffPatchError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DiffPatchError
Auto Trait Implementations§
impl RefUnwindSafe for DiffPatchError
impl Send for DiffPatchError
impl Sync for DiffPatchError
impl Unpin for DiffPatchError
impl UnwindSafe for DiffPatchError
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