mentorenwahl/frontend/src/graphql/queries/users_by_role.rs
Dominic Grimm 8055a5e4db
Some checks failed
continuous-integration/drone/push Build is failing
Update
2023-01-17 06:56:19 +01:00

20 lines
492 B
Rust

use graphql_client::GraphQLQuery;
#[derive(GraphQLQuery)]
#[graphql(
schema_path = "graphql/schema.graphql",
query_path = "graphql/queries/users_by_role_students.graphql",
response_derives = "Debug",
skip_serializing_none
)]
pub struct Students;
#[derive(GraphQLQuery)]
#[graphql(
schema_path = "graphql/schema.graphql",
query_path = "graphql/queries/users_by_role_teachers.graphql",
response_derives = "Debug",
skip_serializing_none
)]
pub struct Teachers;