Struct telescope::api::rcos::users::accounts::unlink::UnlinkUserAccount [−][src]
pub struct UnlinkUserAccount;
Implementations
Make variables for an unlink user-account mutation.
pub async fn send(
user_id: uuid,
platform: user_account
) -> Result<Option<String>, TelescopeError>
pub async fn send(
user_id: uuid,
platform: user_account
) -> Result<Option<String>, TelescopeError>
Unlink and delete a user account from the database. Return the platform id of the account if it existed.
This should be used with significant care, as a user record in the database with no linked accounts is orphaned and the user will not be able to login and use Telescope.
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 UnlinkUserAccount
impl Send for UnlinkUserAccount
impl Sync for UnlinkUserAccount
impl Unpin for UnlinkUserAccount
impl UnwindSafe for UnlinkUserAccount
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