pub struct ExecuteBatchResult {
pub success: bool,
pub message: String,
pub rows_changed: i64,
pub last_insert_rowid: i64,
pub statements_executed: i64,
}Expand description
通用批量执行结果。 Shared batch-execution result.
Fields§
§success: bool是否执行成功。 Whether the batch execution succeeded.
message: String结果消息。 Result message.
rows_changed: i64受影响行数。 Number of affected rows.
last_insert_rowid: i64最近一次插入行 ID。 Last inserted row id.
statements_executed: i64实际执行的语句次数。 Number of statements executed.
Trait Implementations§
Source§impl Clone for ExecuteBatchResult
impl Clone for ExecuteBatchResult
Source§fn clone(&self) -> ExecuteBatchResult
fn clone(&self) -> ExecuteBatchResult
Returns a duplicate of the value. Read more
1.0.0 · 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 ExecuteBatchResult
impl Debug for ExecuteBatchResult
Source§impl PartialEq for ExecuteBatchResult
impl PartialEq for ExecuteBatchResult
impl Eq for ExecuteBatchResult
impl StructuralPartialEq for ExecuteBatchResult
Auto Trait Implementations§
impl Freeze for ExecuteBatchResult
impl RefUnwindSafe for ExecuteBatchResult
impl Send for ExecuteBatchResult
impl Sync for ExecuteBatchResult
impl Unpin for ExecuteBatchResult
impl UnsafeUnpin for ExecuteBatchResult
impl UnwindSafe for ExecuteBatchResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request