pub struct ExtendedCompiledSchema {
pub schema: CompiledSchema,
pub storage: Option<SchemaStorageConfig>,
pub functions: Option<FunctionsConfig>,
pub realtime: Option<RealtimeSchemaConfig>,
}Expand description
A compiled schema with all optional platform extensions parsed out.
Use CompiledSchemaLoader::load_extended to obtain this type. It bundles the
core CompiledSchema together with optional storage, functions, and realtime
configurations that are embedded in the compiled schema JSON.
Fields§
§schema: CompiledSchemaCore compiled GraphQL schema (types, queries, mutations, subscriptions).
storage: Option<SchemaStorageConfig>Storage bucket configuration, if the "storage" key is present and non-null.
functions: Option<FunctionsConfig>Serverless functions configuration, if the "functions" key is present.
realtime: Option<RealtimeSchemaConfig>Realtime broadcast observer configuration, if the "realtime" key is present.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtendedCompiledSchema
impl RefUnwindSafe for ExtendedCompiledSchema
impl Send for ExtendedCompiledSchema
impl Sync for ExtendedCompiledSchema
impl Unpin for ExtendedCompiledSchema
impl UnsafeUnpin for ExtendedCompiledSchema
impl UnwindSafe for ExtendedCompiledSchema
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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> 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