pub struct EmptyChangeset;
Expand description
Expected when an update has no changes to save.
When using optional_empty_changeset
, this error is turned into None
.
Trait Implementations§
source§impl Clone for EmptyChangeset
impl Clone for EmptyChangeset
source§fn clone(&self) -> EmptyChangeset
fn clone(&self) -> EmptyChangeset
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 EmptyChangeset
impl Debug for EmptyChangeset
source§impl Display for EmptyChangeset
impl Display for EmptyChangeset
source§impl Error for EmptyChangeset
impl Error for EmptyChangeset
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()
impl Copy for EmptyChangeset
Auto Trait Implementations§
impl Freeze for EmptyChangeset
impl RefUnwindSafe for EmptyChangeset
impl Send for EmptyChangeset
impl Sync for EmptyChangeset
impl Unpin for EmptyChangeset
impl UnwindSafe for EmptyChangeset
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)