Struct sea_orm::InsertResult [−][src]
pub struct InsertResult<A> where
A: ActiveModelTrait, {
pub last_insert_id: <<<A as ActiveModelTrait>::Entity as EntityTrait>::PrimaryKey as PrimaryKeyTrait>::ValueType,
}
Expand description
The result of an INSERT operation on an ActiveModel
Fields
last_insert_id: <<<A as ActiveModelTrait>::Entity as EntityTrait>::PrimaryKey as PrimaryKeyTrait>::ValueType
The id performed when AUTOINCREMENT was performed on the PrimaryKey
Trait Implementations
Auto Trait Implementations
impl<A> RefUnwindSafe for InsertResult<A> where
<<<A as ActiveModelTrait>::Entity as EntityTrait>::PrimaryKey as PrimaryKeyTrait>::ValueType: RefUnwindSafe,
impl<A> Send for InsertResult<A>
impl<A> Sync for InsertResult<A> where
<<<A as ActiveModelTrait>::Entity as EntityTrait>::PrimaryKey as PrimaryKeyTrait>::ValueType: Sync,
impl<A> Unpin for InsertResult<A> where
<<<A as ActiveModelTrait>::Entity as EntityTrait>::PrimaryKey as PrimaryKeyTrait>::ValueType: Unpin,
impl<A> UnwindSafe for InsertResult<A> where
<<<A as ActiveModelTrait>::Entity as EntityTrait>::PrimaryKey as PrimaryKeyTrait>::ValueType: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more