reactive_graph_client/client/instances/variables/label.rs
1#[cynic::schema_for_derives(file = r#"../../schema/graphql/reactive-graph-schema.graphql"#, module = "crate::schema_graphql::schema")]
2pub mod variables {
3 use cynic::QueryVariables;
4
5 #[derive(QueryVariables, Debug)]
6 pub struct LabelVariables {
7 pub label: String,
8 }
9
10 impl From<String> for LabelVariables {
11 fn from(label: String) -> Self {
12 Self { label }
13 }
14 }
15}