Struct telescope::api::rcos::users::profile::Profile [−][src]
pub struct Profile;
Implementations
pub async fn for_user(
target: uuid,
viewer: Option<uuid>
) -> Result<ResponseData, TelescopeError>
pub async fn for_user(
target: uuid,
viewer: Option<uuid>
) -> Result<ResponseData, TelescopeError>
Get the profile data for a given user ID..
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 Profile
impl UnwindSafe for Profile
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