Struct coord::session::Portal [−][src]
pub struct Portal {
pub stmt: Option<Statement<Raw>>,
pub desc: StatementDesc,
pub parameters: Params,
pub result_formats: Vec<Format>,
pub state: PortalState,
}
Expand description
A portal represents the execution state of a running or runnable query.
Fields
stmt: Option<Statement<Raw>>
The statement that is bound to this portal.
desc: StatementDesc
The statement description.
parameters: Params
The bound values for the parameters in the prepared statement, if any.
result_formats: Vec<Format>
The desired output format for each column in the result set.
state: PortalState
The execution state of the portal.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Portal
impl !UnwindSafe for Portal
Blanket Implementations
Mutably borrows from an owned value. Read more
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