pub struct NothingToInsert;Expand description
An INSERT was given no rows at all. Returned rather than panicked for
the reason update::NothingToSet gives: an empty collection is ordinary
request-shaped data, and the caller decides whether it is a no-op or an
error.
Trait Implementations§
Source§impl Clone for NothingToInsert
impl Clone for NothingToInsert
Source§fn clone(&self) -> NothingToInsert
fn clone(&self) -> NothingToInsert
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NothingToInsert
Source§impl Debug for NothingToInsert
impl Debug for NothingToInsert
Source§impl Display for NothingToInsert
impl Display for NothingToInsert
impl Eq for NothingToInsert
Source§impl Error for NothingToInsert
impl Error for NothingToInsert
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 NothingToInsert
impl PartialEq for NothingToInsert
impl StructuralPartialEq for NothingToInsert
Auto Trait Implementations§
impl Freeze for NothingToInsert
impl RefUnwindSafe for NothingToInsert
impl Send for NothingToInsert
impl Sync for NothingToInsert
impl Unpin for NothingToInsert
impl UnsafeUnpin for NothingToInsert
impl UnwindSafe for NothingToInsert
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