pub struct ViewCheckContext<'a, S: Clone + 'static> {
pub services: MutationAssignmentContext<'a, S>,
pub constraints: ConstraintContext<'a>,
pub statement: ConstraintStatement<'a>,
pub table: &'a str,
pub storage_table: &'a str,
pub target_qualifier: &'a str,
pub doc_id: DocId,
pub document: &'a Document,
pub checks: &'a [ViewCheckPlan],
pub params: &'a [SQLParam],
pub scope: &'a CteScope<S>,
}Fields§
§services: MutationAssignmentContext<'a, S>§constraints: ConstraintContext<'a>The catalog and authority that describe a row a check option rejects.
statement: ConstraintStatement<'a>The statement that writes the row, whose relation and columns the description follows.
table: &'a str§storage_table: &'a str§target_qualifier: &'a str§doc_id: DocId§document: &'a Document§checks: &'a [ViewCheckPlan]§params: &'a [SQLParam]§scope: &'a CteScope<S>Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for ViewCheckContext<'a, S>
impl<'a, S> !Send for ViewCheckContext<'a, S>
impl<'a, S> !Sync for ViewCheckContext<'a, S>
impl<'a, S> !UnwindSafe for ViewCheckContext<'a, S>
impl<'a, S> Freeze for ViewCheckContext<'a, S>
impl<'a, S> Unpin for ViewCheckContext<'a, S>
impl<'a, S> UnsafeUnpin for ViewCheckContext<'a, S>
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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