Struct rbdc::db::ExecResult
source · pub struct ExecResult {
pub rows_affected: u64,
pub last_insert_id: Value,
}
Fields§
§rows_affected: u64
§last_insert_id: Value
If some databases do not support last_insert_id, the default value is Null
Trait Implementations§
source§impl Debug for ExecResult
impl Debug for ExecResult
source§impl Default for ExecResult
impl Default for ExecResult
source§fn default() -> ExecResult
fn default() -> ExecResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExecResult
impl<'de> Deserialize<'de> for ExecResult
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
source§impl Display for ExecResult
impl Display for ExecResult
source§impl PartialEq for ExecResult
impl PartialEq for ExecResult
source§fn eq(&self, other: &ExecResult) -> bool
fn eq(&self, other: &ExecResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ExecResult
impl Serialize for ExecResult
impl Eq for ExecResult
impl StructuralPartialEq for ExecResult
Auto Trait Implementations§
impl RefUnwindSafe for ExecResult
impl Send for ExecResult
impl Sync for ExecResult
impl Unpin for ExecResult
impl UnwindSafe for ExecResult
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more