pub struct StatementPolicySources<'a> {Show 20 fields
pub bind_values: Arc<BTreeMap<(u32, u32), u32>>,
pub collect_lock_inventory: bool,
pub sql_batch: bool,
pub opaque_sql_prefix: bool,
pub collect_json_writes: bool,
pub collect_duplicate_keyed_lookups: bool,
pub collect_lookup_steps: bool,
pub collect_view_uses: bool,
pub collect_grouping: bool,
pub synthetic_fragment_where: bool,
pub complete_recovered_selects_only: bool,
pub statement_complete: Option<&'a [bool]>,
pub collect_index_probes: bool,
pub collect_body_bounds: bool,
pub share_lock_writes: bool,
pub redundant_prelocks: bool,
pub tokens: Option<&'a [Option<Arc<[TokenWithSpan]>>]>,
pub statement_locations: Option<&'a [Location]>,
pub schema: Option<&'a SqlSchemaFileFacts>,
pub functions: &'a [SqlFunctionCallFact],
}Fields§
§bind_values: Arc<BTreeMap<(u32, u32), u32>>§collect_lock_inventory: bool§sql_batch: bool§opaque_sql_prefix: bool§collect_json_writes: bool§collect_duplicate_keyed_lookups: bool§collect_lookup_steps: bool§collect_view_uses: bool§collect_grouping: bool§synthetic_fragment_where: bool§complete_recovered_selects_only: bool§statement_complete: Option<&'a [bool]>§collect_index_probes: bool§collect_body_bounds: bool§redundant_prelocks: bool§tokens: Option<&'a [Option<Arc<[TokenWithSpan]>>]>§statement_locations: Option<&'a [Location]>§schema: Option<&'a SqlSchemaFileFacts>§functions: &'a [SqlFunctionCallFact]Trait Implementations§
Source§impl<'a> Clone for StatementPolicySources<'a>
impl<'a> Clone for StatementPolicySources<'a>
Source§fn clone(&self) -> StatementPolicySources<'a>
fn clone(&self) -> StatementPolicySources<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Default for StatementPolicySources<'a>
impl<'a> Default for StatementPolicySources<'a>
Source§fn default() -> StatementPolicySources<'a>
fn default() -> StatementPolicySources<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Forget for StatementPolicySources<'a>
impl<'a> Freeze for StatementPolicySources<'a>
impl<'a> Move for StatementPolicySources<'a>
impl<'a> RefUnwindSafe for StatementPolicySources<'a>
impl<'a> Send for StatementPolicySources<'a>
impl<'a> Sync for StatementPolicySources<'a>where
Arc<BTreeMap<(u32, u32), u32>>: Sync,
Arc<[TokenWithSpan]>: Sync,
RawVecInner: Sync,
BoxRaw<SqlSchemaFileFacts>: Sync,
NodeRef<Owned, SqlQueryComplexity, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(SqlQueryComplexity, SetValZST)>: Sync,
NodeRef<Owned, String, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(String, SetValZST)>: Sync,
NodeRef<Owned, (String, String), SetValZST, LeafOrInternal>: Sync,
BoxRaw<((String, String), SetValZST)>: Sync,
NodeRef<Owned, usize, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(usize, SetValZST)>: Sync,
NodeRef<Owned, String, BTreeSet<String>, LeafOrInternal>: Sync,
BoxRaw<(String, BTreeSet<String>)>: Sync,
impl<'a> Unpin for StatementPolicySources<'a>
impl<'a> UnsafeUnpin for StatementPolicySources<'a>where
*const ArcInner<BTreeMap<(u32, u32), u32>> is !null: UnsafeUnpin,
PhantomData<ArcInner<BTreeMap<(u32, u32), u32>>>: UnsafeUnpin,
&'a [bool]: UnsafeUnpin,
&'a [Option<Arc<[TokenWithSpan]>>]: UnsafeUnpin,
&'a [Location]: UnsafeUnpin,
&'a SqlSchemaFileFacts: UnsafeUnpin,
&'a [SqlFunctionCallFact]: UnsafeUnpin,
impl<'a> UnwindSafe for StatementPolicySources<'a>where
Arc<BTreeMap<(u32, u32), u32>>: UnwindSafe,
&'a [bool]: UnwindSafe,
&'a [Option<Arc<[TokenWithSpan]>>]: UnwindSafe,
&'a [Location]: UnwindSafe,
&'a SqlSchemaFileFacts: UnwindSafe,
&'a [SqlFunctionCallFact]: UnwindSafe,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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