pub struct GraphqlResolverBridgeImpl { /* private fields */ }Expand description
Concrete GraphqlResolverBridge wrapping Arc<dyn themql_core::Resolver>.
resolve_field interprets field as a resource subject string,
builds a Query against that resource, delegates to the wrapped
themql_core::Resolver, and projects the ResponseValue into a
JSON value.
Implementations§
Trait Implementations§
Source§impl Clone for GraphqlResolverBridgeImpl
impl Clone for GraphqlResolverBridgeImpl
Source§fn clone(&self) -> GraphqlResolverBridgeImpl
fn clone(&self) -> GraphqlResolverBridgeImpl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for GraphqlResolverBridgeImpl
impl !UnwindSafe for GraphqlResolverBridgeImpl
impl Freeze for GraphqlResolverBridgeImpl
impl Send for GraphqlResolverBridgeImpl
impl Sync for GraphqlResolverBridgeImpl
impl Unpin for GraphqlResolverBridgeImpl
impl UnsafeUnpin for GraphqlResolverBridgeImpl
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