Struct dynamic_graphql::Instance
source · pub struct Instance<'v, I, T = ()>where
I: ?Sized + Interface,{ /* private fields */ }
Implementations§
Trait Implementations§
source§impl<I> OutputTypeName for Instance<'_, I>where
I: Interface + 'static + ?Sized,
impl<I> OutputTypeName for Instance<'_, I>where I: Interface + 'static + ?Sized,
fn get_output_type_name() -> Cow<'static, str>
source§impl<I, T> Register for Instance<'_, I, T>where
I: ?Sized + Interface + 'static + RegisterInstance<I, T>,
T: Object + 'static + Send + Sync,
impl<I, T> Register for Instance<'_, I, T>where I: ?Sized + Interface + 'static + RegisterInstance<I, T>, T: Object + 'static + Send + Sync,
source§impl<'a, I> ResolveOwned<'a> for Instance<'a, I>where
I: ?Sized + Interface,
impl<'a, I> ResolveOwned<'a> for Instance<'a, I>where I: ?Sized + Interface,
fn resolve_owned(self, ctx: &Context<'_>) -> Result<Option<FieldValue<'a>>>
Auto Trait Implementations§
impl<'v, I, T = ()> !RefUnwindSafe for Instance<'v, I, T>
impl<'v, I: ?Sized, T> Send for Instance<'v, I, T>where I: Send, T: Send,
impl<'v, I: ?Sized, T> Sync for Instance<'v, I, T>where I: Sync, T: Sync,
impl<'v, I: ?Sized, T> Unpin for Instance<'v, I, T>where I: Unpin, T: Unpin,
impl<'v, I, T = ()> !UnwindSafe for Instance<'v, I, T>
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