pub struct ScyllaDBQueryResult {
pub rows_num: u64,
pub rows_affected: u64,
}
Expand description
Query execution result.
Fields§
§rows_num: u64
Number of retrieved items. Or the number of items in the light-weight transaction.
rows_affected: u64
Only valid when using a light-weight transaction.
Trait Implementations§
Source§impl Debug for ScyllaDBQueryResult
impl Debug for ScyllaDBQueryResult
Source§impl Default for ScyllaDBQueryResult
impl Default for ScyllaDBQueryResult
Source§fn default() -> ScyllaDBQueryResult
fn default() -> ScyllaDBQueryResult
Returns the “default value” for a type. Read more
Source§impl Extend<ScyllaDBQueryResult> for ScyllaDBQueryResult
impl Extend<ScyllaDBQueryResult> for ScyllaDBQueryResult
Source§fn extend<T>(&mut self, query_results: T)where
T: IntoIterator<Item = ScyllaDBQueryResult>,
fn extend<T>(&mut self, query_results: T)where
T: IntoIterator<Item = ScyllaDBQueryResult>,
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Auto Trait Implementations§
impl Freeze for ScyllaDBQueryResult
impl RefUnwindSafe for ScyllaDBQueryResult
impl Send for ScyllaDBQueryResult
impl Sync for ScyllaDBQueryResult
impl Unpin for ScyllaDBQueryResult
impl UnwindSafe for ScyllaDBQueryResult
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> 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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more