--- source: cynic-querygen/tests/starwars-tests.rs expression: "document_to_fragment_structs(query, schema,\n &QueryGenOptions::default()).expect(\"QueryGen Failed\")" --- #[derive(cynic::QueryFragment, Debug)] #[cynic(graphql_type = "Root")] pub struct UnnamedQuery { #[arguments(id: "ZmlsbXM6MQ==")] #[cynic(rename = "film")] pub a_new_hope: Option, #[arguments(id: "ZmlsbXM6Mg==")] #[cynic(rename = "film")] pub empire_strikes_back: Option, } #[derive(cynic::QueryFragment, Debug)] pub struct Film { pub title: Option, }