Struct telescope::api::rcos::users::accounts::reverse_lookup::ReverseLookup [−][src]
pub struct ReverseLookup;
Expand description
Type representing query for user ID given a platform and user id on that platform.
Implementations
Make the variables for a reverse account lookup.
pub async fn execute(
platform: user_account,
platform_id: String
) -> Result<Option<uuid>, TelescopeError>
pub async fn execute(
platform: user_account,
platform_id: String
) -> Result<Option<uuid>, TelescopeError>
Get the user ID associated with an ID on a different platform if available.
Trait Implementations
The shape of the variables expected by the query. This should be a generated struct most of the time.
type ResponseData = ResponseData
type ResponseData = ResponseData
The top-level shape of the response data (the data
field in the GraphQL response). In practice this should be generated, since it is hard to write by hand without error.
Produce a GraphQL query struct that can be JSON serialized and sent to a GraphQL API.
Auto Trait Implementations
impl RefUnwindSafe for ReverseLookup
impl Send for ReverseLookup
impl Sync for ReverseLookup
impl Unpin for ReverseLookup
impl UnwindSafe for ReverseLookup
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more