Struct mysql_async_support_model::ResultSet [−][src]
pub struct ResultSet<T> { pub affected_rows: u64, pub warning_count: u16, pub info: String, pub values: Vec<T>, }
Expand description
Message, warning count, and result values for a single statement.
See [ResultSetStrings
] and [ResultSetTyped
] for aliased versions of this
class.
Type Parameters
T
: Type that represents the values from each row. This may be eitherStringValues
orTypedValues
.
Fields
affected_rows: u64
Number of rows affected by the query.
warning_count: u16
Number of warnings.
info: String
Message returned by the server.
values: Vec<T>
Values returned by the statement.
Trait Implementations
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
Auto Trait Implementations
impl<T> RefUnwindSafe for ResultSet<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for ResultSet<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V