Struct sql::plan::StatementDesc [−][src]
pub struct StatementDesc {
pub relation_desc: Option<RelationDesc>,
pub param_types: Vec<Type>,
pub is_copy: bool,
}
Expand description
Describes the output of a SQL statement.
Fields
relation_desc: Option<RelationDesc>
The shape of the rows produced by the statement, if the statement produces rows.
param_types: Vec<Type>
The determined types of the parameters in the statement, if any.
is_copy: bool
Whether the statement is a COPY
statement.
Implementations
Reports the number of columns in the statement’s result set, or zero if the statement does not return rows.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StatementDesc
impl Send for StatementDesc
impl Sync for StatementDesc
impl Unpin for StatementDesc
impl UnwindSafe for StatementDesc
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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