pub struct StatementPlan {
pub plan: Plan,
pub presented_keys: Vec<String>,
}Expand description
One statement’s plan, plus the redemption credentials its argv presented.
Fields§
§plan: PlanWhat the statement was asked to run, with every credential redacted.
presented_keys: Vec<String>Every literal --confirm=<key> (or confirm=<key>) the statement’s
argv carries, in source order.
Literal only. A plan is unexpanded, so --confirm=${key} reads as
${key} here and nothing is lifted — what the plan cannot see, the
plan cannot leak, and nothing is stripped from the argv that executes.
Auto Trait Implementations§
impl Freeze for StatementPlan
impl RefUnwindSafe for StatementPlan
impl Send for StatementPlan
impl Sync for StatementPlan
impl Unpin for StatementPlan
impl UnsafeUnpin for StatementPlan
impl UnwindSafe for StatementPlan
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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> Pointable for T
impl<T> Pointable for T
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.