pub struct Query;
Implementations§
Source§impl Query
GraphQL Query endpoints exposed by the Mina node
impl Query
GraphQL Query endpoints exposed by the Mina node
§Available Queries:
§Account Management
account
- Retrieve account information for a public keycurrent_snark_worker
- Get information about the current SNARK worker
§Blockchain State
sync_status
- Get the synchronization status of the nodebest_chain
- Retrieve the best chain of blocksblock
- Get a specific block by hash or heightgenesis_block
- Retrieve the genesis blockgenesis_constants
- Get genesis configuration constantsdaemon_status
- Get the daemon status information
§Transaction Pool
pooled_user_commands
- Query pending user commands in the transaction poolpooled_zkapp_commands
- Query pending zkApp commands in the transaction pooltransaction_status
- Check the status of a transaction
§SNARK Pool
snark_pool
- Get completed SNARK jobspending_snark_work
- Get pending SNARK work items
§Network Information
network_id
- Get the chain-agnostic network identifierversion
- Get the node version (git commit hash)
Sourceasync fn account(
public_key: String,
token: Option<String>,
context: &Context,
) -> FieldResult<GraphQLAccount>
async fn account( public_key: String, token: Option<String>, context: &Context, ) -> FieldResult<GraphQLAccount>
Sourceasync fn sync_status(context: &Context) -> FieldResult<SyncStatus>
async fn sync_status(context: &Context) -> FieldResult<SyncStatus>
Get the current synchronization status of the node
§Returns
One of: CONNECTING, LISTENING, OFFLINE, BOOTSTRAP, SYNCED, CATCHUP
Sourceasync fn best_chain(
max_length: i32,
context: &Context,
) -> FieldResult<Vec<GraphQLBlock>>
async fn best_chain( max_length: i32, context: &Context, ) -> FieldResult<Vec<GraphQLBlock>>
Sourceasync fn daemon_status(_context: &Context) -> FieldResult<GraphQLDaemonStatus>
async fn daemon_status(_context: &Context) -> FieldResult<GraphQLDaemonStatus>
Get daemon status information including chain ID and configuration
§Returns
Daemon status with chain ID, configuration, and other metadata
Sourceasync fn genesis_constants(
context: &Context,
) -> FieldResult<GraphQLGenesisConstants>
async fn genesis_constants( context: &Context, ) -> FieldResult<GraphQLGenesisConstants>
Retrieve genesis configuration constants
§Returns
Genesis constants including protocol parameters and constraints
Sourceasync fn transaction_status(
payment: Option<String>,
zkapp_transaction: Option<String>,
context: &Context,
) -> FieldResult<GraphQLTransactionStatus>
async fn transaction_status( payment: Option<String>, zkapp_transaction: Option<String>, context: &Context, ) -> FieldResult<GraphQLTransactionStatus>
Sourceasync fn block(
height: Option<i32>,
state_hash: Option<String>,
context: &Context,
) -> FieldResult<GraphQLBlock>
async fn block( height: Option<i32>, state_hash: Option<String>, context: &Context, ) -> FieldResult<GraphQLBlock>
Sourceasync fn pooled_user_commands(
&self,
public_key: Option<String>,
hashes: Option<Vec<String>>,
ids: Option<Vec<String>>,
context: &Context,
) -> FieldResult<Vec<GraphQLUserCommands>>
async fn pooled_user_commands( &self, public_key: Option<String>, hashes: Option<Vec<String>>, ids: Option<Vec<String>>, context: &Context, ) -> FieldResult<Vec<GraphQLUserCommands>>
Retrieve all the scheduled user commands for a specified sender that the current daemon sees in its transaction pool. All scheduled commands are queried if no sender is specified
Arguments:
public_key
: base58 encoded [AccountPublicKey
]hashes
: list of base58 encoded [TransactionHash
]esids
: list of base64 encoded [MinaBaseZkappCommandTStableV1WireStableV1
]
Sourceasync fn pooled_zkapp_commands(
public_key: Option<String>,
hashes: Option<Vec<String>>,
ids: Option<Vec<String>>,
context: &Context,
) -> FieldResult<Vec<GraphQLZkapp>>
async fn pooled_zkapp_commands( public_key: Option<String>, hashes: Option<Vec<String>>, ids: Option<Vec<String>>, context: &Context, ) -> FieldResult<Vec<GraphQLZkapp>>
Retrieve all the scheduled zkApp commands for a specified sender that the current daemon sees in its transaction pool. All scheduled commands are queried if no sender is specified
Arguments:
public_key
: base58 encoded [AccountPublicKey
]hashes
: list of base58 encoded [TransactionHash
]esids
: list of base64 encoded [MinaBaseZkappCommandTStableV1WireStableV1
]
Sourceasync fn genesis_block(context: &Context) -> FieldResult<GraphQLBlock>
async fn genesis_block(context: &Context) -> FieldResult<GraphQLBlock>
Sourceasync fn snark_pool(context: &Context) -> FieldResult<Vec<GraphQLSnarkJob>>
async fn snark_pool(context: &Context) -> FieldResult<Vec<GraphQLSnarkJob>>
Get completed SNARK jobs from the SNARK pool
§Returns
List of completed SNARK jobs with proofs and fees
Sourceasync fn pending_snark_work(
context: &Context,
) -> FieldResult<Vec<GraphQLPendingSnarkWork>>
async fn pending_snark_work( context: &Context, ) -> FieldResult<Vec<GraphQLPendingSnarkWork>>
Get pending SNARK work items that need to be completed
§Returns
List of pending SNARK work items with job specifications
Sourceasync fn network_id(_context: &Context) -> FieldResult<String>
async fn network_id(_context: &Context) -> FieldResult<String>
The chain-agnostic identifier of the network
§Returns
Network identifier in the format “mina:<network_name>”
Sourceasync fn current_snark_worker(
&self,
context: &Context,
) -> FieldResult<Option<GraphQLSnarkWorker>>
async fn current_snark_worker( &self, context: &Context, ) -> FieldResult<Option<GraphQLSnarkWorker>>
Get information about the current SNARK worker if configured
§Returns
SNARK worker configuration including public key, account, and fee
Trait Implementations§
Source§impl<__S> BaseSubTypes<__S> for Querywhere
__S: ScalarValue,
impl<__S> BaseSubTypes<__S> for Querywhere
__S: ScalarValue,
Source§const NAMES: Types
const NAMES: Types
Types
] of the GraphQL object.Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> Field<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 1u128
const WRAPPED_VALUE: WrappedValue = 1u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 1u128
const WRAPPED_VALUE: WrappedValue = 1u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 13u128
const WRAPPED_VALUE: WrappedValue = 13u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 13u128
const WRAPPED_VALUE: WrappedValue = 13u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 1u128
const WRAPPED_VALUE: WrappedValue = 1u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 1u128
const WRAPPED_VALUE: WrappedValue = 1u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 12u128
const WRAPPED_VALUE: WrappedValue = 12u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 13u128
const WRAPPED_VALUE: WrappedValue = 13u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 1u128
const WRAPPED_VALUE: WrappedValue = 1u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 1u128
const WRAPPED_VALUE: WrappedValue = 1u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 1u128
const WRAPPED_VALUE: WrappedValue = 1u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 1u128
const WRAPPED_VALUE: WrappedValue = 1u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 13u128
const WRAPPED_VALUE: WrappedValue = 13u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 13u128
const WRAPPED_VALUE: WrappedValue = 13u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
impl<__S> FieldMeta<__S, #[juniper::graphql_object(context = Context)]> for Querywhere
__S: ScalarValue,
Source§const TYPE: Type
const TYPE: Type
Types
] of GraphQL field’s return type.Source§const SUB_TYPES: Types
const SUB_TYPES: Types
Source§const WRAPPED_VALUE: WrappedValue = 1u128
const WRAPPED_VALUE: WrappedValue = 1u128
WrappedValue
] of GraphQL field’s return type.Source§const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
const ARGUMENTS: &'static [(Name, Type, WrappedValue)]
Arguments
].Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue::TypeInfo
] of this GraphQL field.Source§impl<__S> GraphQLValue<__S> for Querywhere
__S: ScalarValue,
impl<__S> GraphQLValue<__S> for Querywhere
__S: ScalarValue,
Source§type TypeInfo = ()
type TypeInfo = ()
GraphQLValue
]. Read moreSource§fn resolve_field(
&self,
info: &Self::TypeInfo,
field: &str,
args: &Arguments<'_, __S>,
executor: &Executor<'_, '_, Self::Context, __S>,
) -> ExecutionResult<__S>
fn resolve_field( &self, info: &Self::TypeInfo, field: &str, args: &Arguments<'_, __S>, executor: &Executor<'_, '_, Self::Context, __S>, ) -> ExecutionResult<__S>
GraphQLValue
]. Read moreSource§fn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
fn concrete_type_name(&self, _: &Self::Context, _: &Self::TypeInfo) -> String
§fn resolve_into_type(
&self,
info: &Self::TypeInfo,
type_name: &str,
selection_set: Option<&[Selection<'_, S>]>,
executor: &Executor<'_, '_, Self::Context, S>,
) -> Result<Value<S>, FieldError<S>>
fn resolve_into_type( &self, info: &Self::TypeInfo, type_name: &str, selection_set: Option<&[Selection<'_, S>]>, executor: &Executor<'_, '_, Self::Context, S>, ) -> Result<Value<S>, FieldError<S>>
Source§impl<__S> GraphQLValueAsync<__S> for Query
impl<__S> GraphQLValueAsync<__S> for Query
Source§fn resolve_field_async<'b>(
&'b self,
info: &'b Self::TypeInfo,
field: &'b str,
args: &'b Arguments<'_, __S>,
executor: &'b Executor<'_, '_, Self::Context, __S>,
) -> BoxFuture<'b, ExecutionResult<__S>>
fn resolve_field_async<'b>( &'b self, info: &'b Self::TypeInfo, field: &'b str, args: &'b Arguments<'_, __S>, executor: &'b Executor<'_, '_, Self::Context, __S>, ) -> BoxFuture<'b, ExecutionResult<__S>>
GraphQLValueAsync
]. Read more§fn resolve_into_type_async<'a>(
&'a self,
info: &'a Self::TypeInfo,
type_name: &str,
selection_set: Option<&'a [Selection<'a, S>]>,
executor: &'a Executor<'a, 'a, Self::Context, S>,
) -> Pin<Box<dyn Future<Output = Result<Value<S>, FieldError<S>>> + Send + 'a>>
fn resolve_into_type_async<'a>( &'a self, info: &'a Self::TypeInfo, type_name: &str, selection_set: Option<&'a [Selection<'a, S>]>, executor: &'a Executor<'a, 'a, Self::Context, S>, ) -> Pin<Box<dyn Future<Output = Result<Value<S>, FieldError<S>>> + Send + 'a>>
Source§impl<__S> Implements<__S> for Querywhere
__S: ScalarValue,
impl<__S> Implements<__S> for Querywhere
__S: ScalarValue,
Source§const NAMES: Types
const NAMES: Types
Types
] of the GraphQL interfaces implemented by this type.impl Copy for Query
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Conv for T
impl<T> Conv for T
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref()
only in debug builds, and is erased in release
builds.