pub struct ShellTypeContext<'a> {
pub registries: UserTypeRegistries<'a>,
pub creation: RelationCreationContext<'a>,
pub identities: CatalogIdentityReservationContext<'a>,
pub writer: &'a dyn SchemaStatementWriter,
pub allocate_identity: fn() -> Result<[u8; 16], SQLError>,
pub publication: &'a dyn ShellRegistryPublication,
pub changes: &'a dyn NamespaceCatalogChanges,
}Fields§
§registries: UserTypeRegistries<'a>§creation: RelationCreationContext<'a>§identities: CatalogIdentityReservationContext<'a>§writer: &'a dyn SchemaStatementWriter§allocate_identity: fn() -> Result<[u8; 16], SQLError>§publication: &'a dyn ShellRegistryPublication§changes: &'a dyn NamespaceCatalogChangesAuto Trait Implementations§
impl<'a> !RefUnwindSafe for ShellTypeContext<'a>
impl<'a> !Send for ShellTypeContext<'a>
impl<'a> !Sync for ShellTypeContext<'a>
impl<'a> !UnwindSafe for ShellTypeContext<'a>
impl<'a> Freeze for ShellTypeContext<'a>
impl<'a> Unpin for ShellTypeContext<'a>
impl<'a> UnsafeUnpin for ShellTypeContext<'a>
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