pub struct UpdateOutcome {
pub rows_affected: u64,
}Fields§
§rows_affected: u64Number of rows the UPDATE matched. 1 for the happy path,
0 if the ctid is gone (row was deleted or modified by
another session) — UI surfaces that as a refresh prompt.
Trait Implementations§
Source§impl Clone for UpdateOutcome
impl Clone for UpdateOutcome
Source§fn clone(&self) -> UpdateOutcome
fn clone(&self) -> UpdateOutcome
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 moreSource§impl Debug for UpdateOutcome
impl Debug for UpdateOutcome
Source§impl<'de> Deserialize<'de> for UpdateOutcome
impl<'de> Deserialize<'de> for UpdateOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UpdateOutcome
impl RefUnwindSafe for UpdateOutcome
impl Send for UpdateOutcome
impl Sync for UpdateOutcome
impl Unpin for UpdateOutcome
impl UnsafeUnpin for UpdateOutcome
impl UnwindSafe for UpdateOutcome
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