pub struct CreateOutcome {
pub last_insert_id: Option<String>,
}Expand description
Result of an insert. last_insert_id is backend-dependent (MySQL yields an
autoincrement id; Postgres a RETURNING id when available).
Fields§
§last_insert_id: Option<String>Trait Implementations§
Source§impl Clone for CreateOutcome
impl Clone for CreateOutcome
Source§fn clone(&self) -> CreateOutcome
fn clone(&self) -> CreateOutcome
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 CreateOutcome
impl Debug for CreateOutcome
Source§impl Default for CreateOutcome
impl Default for CreateOutcome
Source§fn default() -> CreateOutcome
fn default() -> CreateOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateOutcome
impl RefUnwindSafe for CreateOutcome
impl Send for CreateOutcome
impl Sync for CreateOutcome
impl Unpin for CreateOutcome
impl UnsafeUnpin for CreateOutcome
impl UnwindSafe for CreateOutcome
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