pub struct SchemaRegistrationBuilder<'a> { /* private fields */ }Expand description
An incomplete schema registration.
Call one of the methods on this type to provide the schema details
Implementations§
source§impl<'a> SchemaRegistrationBuilder<'a>
impl<'a> SchemaRegistrationBuilder<'a>
sourcepub fn from_sdl_file(
self,
path: impl AsRef<Path>
) -> Result<SchemaRegistration<'a>, SchemaRegistrationError>
pub fn from_sdl_file( self, path: impl AsRef<Path> ) -> Result<SchemaRegistration<'a>, SchemaRegistrationError>
Pulls schema information from the SDL file at path
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SchemaRegistrationBuilder<'a>
impl<'a> Send for SchemaRegistrationBuilder<'a>
impl<'a> Sync for SchemaRegistrationBuilder<'a>
impl<'a> Unpin for SchemaRegistrationBuilder<'a>
impl<'a> UnwindSafe for SchemaRegistrationBuilder<'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