Struct telescope::api::rcos::users::edit_profile::EditProfileContext [−][src]
pub struct EditProfileContext;
Expand description
Type representing GraphQL query to get context for editing a user profile.
Implementations
pub async fn get(
user_id: uuid
) -> Result<Option<EditProfileContextUsersByPk>, TelescopeError>
pub async fn get(
user_id: uuid
) -> Result<Option<EditProfileContextUsersByPk>, TelescopeError>
Get the context to edit a user’s profile.
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 EditProfileContext
impl Send for EditProfileContext
impl Sync for EditProfileContext
impl Unpin for EditProfileContext
impl UnwindSafe for EditProfileContext
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