Skip to main content

StatementPolicySources

Struct StatementPolicySources 

Source
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§share_lock_writes: 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>

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl<'a> Default for StatementPolicySources<'a>

Source§

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>
where *const ArcInner<BTreeMap<(u32, u32), u32>> is !null: Freeze, PhantomData<ArcInner<BTreeMap<(u32, u32), u32>>>: Freeze, &'a [bool]: Freeze, &'a [Option<Arc<[TokenWithSpan]>>]: Freeze, &'a [Location]: Freeze, &'a SqlSchemaFileFacts: Freeze, &'a [SqlFunctionCallFact]: Freeze,

§

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>

§

impl<'a> UnwindSafe for StatementPolicySources<'a>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<'a, T> FromIn<'a, T> for T

Source§

fn from_in(t: T, _: &'a Allocator) -> T

Converts to this type from the input type within the given allocator.
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
where F: FnOnce(&Self) -> bool,

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
Source§

impl<'a, T, U> IntoIn<'a, U> for T
where U: FromIn<'a, T>,

Source§

fn into_in(self, allocator: &'a Allocator) -> U

Converts this type into the (usually inferred) input type within the given allocator.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.