pub struct NothingToSet;Expand description
Every field of an *Update was untouched, so there is nothing to
assign. Returned rather than panicked because request-shaped data
produces it: the caller decides whether that is a no-op or an error.
Trait Implementations§
Source§impl Clone for NothingToSet
impl Clone for NothingToSet
Source§fn clone(&self) -> NothingToSet
fn clone(&self) -> NothingToSet
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 NothingToSet
Source§impl Debug for NothingToSet
impl Debug for NothingToSet
Source§impl Display for NothingToSet
impl Display for NothingToSet
impl Eq for NothingToSet
Source§impl Error for NothingToSet
impl Error for NothingToSet
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 NothingToSet
impl PartialEq for NothingToSet
impl StructuralPartialEq for NothingToSet
Auto Trait Implementations§
impl Freeze for NothingToSet
impl RefUnwindSafe for NothingToSet
impl Send for NothingToSet
impl Sync for NothingToSet
impl Unpin for NothingToSet
impl UnsafeUnpin for NothingToSet
impl UnwindSafe for NothingToSet
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