Struct dynamic_graphql::internal::Registry
source · pub struct Registry {
pub data: SchemaData,
/* private fields */
}
Fields§
§data: SchemaData
Implementations§
source§impl Registry
impl Registry
pub fn set_root(self, name: &str) -> Self
pub fn set_mutation(self, name: &str) -> Self
pub fn set_subscription(self, name: &str) -> Self
pub fn register_type(self, ty: impl Into<Type>) -> Self
pub fn update_object<F>(self, target: &str, expansion_name: &str, f: F) -> Self
source§impl Registry
impl Registry
pub fn register<T: Register + ?Sized + 'static>(self) -> Self
pub fn create_schema(self) -> SchemaBuilder
pub fn apply_into_schema_builder(self, schema: SchemaBuilder) -> SchemaBuilder
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Registry
impl !Send for Registry
impl !Sync for Registry
impl Unpin for Registry
impl !UnwindSafe for Registry
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