@@ -30,80 +30,53 @@ impl cynic::schema::NamedType for SubscriptionRoot {
3030pub mod __fields {
3131 pub mod Book {
3232 pub struct id ;
33- impl cynic ::schema ::Field for id {
34- type Type = super ::super ::String ;
35- const NAME: & ' static str = "id";
36- }
3733 impl cynic ::schema ::HasField <id > for super::super::Book {
3834 type Type = super ::super ::String ;
35+ const NAME : & ' static str = "id";
3936 }
4037 pub struct name;
41- impl cynic::schema::Field for name {
42- type Type = super ::super ::String ;
43- const NAME : & ' static str = "name";
44- }
4538 impl cynic::schema::HasField<name > for super::super::Book {
4639 type Type = super ::super ::String ;
40+ const NAME : & ' static str = "name";
4741 }
4842 pub struct author;
49- impl cynic::schema::Field for author {
50- type Type = super ::super ::String ;
51- const NAME : & ' static str = "author";
52- }
5343 impl cynic::schema::HasField<author > for super::super::Book {
5444 type Type = super ::super ::String ;
45+ const NAME : & ' static str = "author";
5546 }
5647 pub struct __typename;
57- impl cynic::schema::Field for __typename {
58- type Type = super ::super ::String ;
59- const NAME : & ' static str = "__typename";
60- }
6148 impl cynic::schema::HasField<__typename > for super::super::Book {
6249 type Type = super ::super ::String ;
50+ const NAME : & ' static str = "__typename";
6351 }
6452 }
6553 pub mod BookChanged {
6654 pub struct mutationType ;
67- impl cynic ::schema ::Field for mutationType {
68- type Type = super::super ::MutationType ;
69- const NAME : & ' static str = "mutationType";
70- }
7155 impl cynic ::schema ::HasField <mutationType > for super::super::BookChanged {
7256 type Type = super ::super ::MutationType ;
57+ const NAME : & ' static str = "mutationType";
7358 }
7459 pub struct id;
75- impl cynic::schema::Field for id {
76- type Type = super ::super ::ID ;
77- const NAME : & ' static str = "id";
78- }
7960 impl cynic::schema::HasField<id > for super::super::BookChanged {
8061 type Type = super ::super ::ID ;
62+ const NAME : & ' static str = "id";
8163 }
8264 pub struct book;
83- impl cynic::schema::Field for book {
84- type Type = Option < super ::super ::Book > ;
85- const NAME : & ' static str = "book";
86- }
8765 impl cynic::schema::HasField<book > for super::super::BookChanged {
8866 type Type = Option < super ::super ::Book > ;
67+ const NAME : & ' static str = "book";
8968 }
9069 pub struct __typename;
91- impl cynic::schema::Field for __typename {
92- type Type = super ::super ::String ;
93- const NAME : & ' static str = "__typename";
94- }
9570 impl cynic::schema::HasField<__typename > for super::super::BookChanged {
9671 type Type = super ::super ::String ;
72+ const NAME : & ' static str = "__typename";
9773 }
9874 }
9975 pub mod MutationRoot {
10076 pub struct createBook ;
101- impl cynic ::schema ::Field for createBook {
102- type Type = super::super ::ID ;
103- const NAME : & ' static str = "createBook";
104- }
10577 impl cynic ::schema ::HasField <createBook > for super::super::MutationRoot {
10678 type Type = super ::super ::ID ;
79+ const NAME : & ' static str = "createBook";
10780 }
10881 pub mod _create_book_arguments {
10982 pub struct name ;
@@ -118,12 +91,9 @@ pub mod __fields {
11891 }
11992 }
12093 pub struct deleteBook;
121- impl cynic::schema::Field for deleteBook {
122- type Type = super ::super ::Boolean ;
123- const NAME : & ' static str = "deleteBook";
124- }
12594 impl cynic::schema::HasField<deleteBook > for super::super::MutationRoot {
12695 type Type = super ::super ::Boolean ;
96+ const NAME : & ' static str = "deleteBook";
12797 }
12898 pub mod _delete_book_arguments {
12999 pub struct id ;
@@ -133,40 +103,28 @@ pub mod __fields {
133103 }
134104 }
135105 pub struct __typename;
136- impl cynic::schema::Field for __typename {
137- type Type = super ::super ::String ;
138- const NAME : & ' static str = "__typename";
139- }
140106 impl cynic::schema::HasField<__typename > for super::super::MutationRoot {
141107 type Type = super ::super ::String ;
108+ const NAME : & ' static str = "__typename";
142109 }
143110 }
144111 pub mod QueryRoot {
145112 pub struct books ;
146- impl cynic ::schema ::Field for books {
147- type Type = Vec<super ::super ::Book >;
148- const NAME: & ' static str = "books";
149- }
150113 impl cynic ::schema ::HasField <books > for super::super::QueryRoot {
151114 type Type = Vec < super ::super ::Book > ;
115+ const NAME : & ' static str = "books";
152116 }
153117 pub struct __typename;
154- impl cynic::schema::Field for __typename {
155- type Type = super ::super ::String ;
156- const NAME : & ' static str = "__typename";
157- }
158118 impl cynic::schema::HasField<__typename > for super::super::QueryRoot {
159119 type Type = super ::super ::String ;
120+ const NAME : & ' static str = "__typename";
160121 }
161122 }
162123 pub mod SubscriptionRoot {
163124 pub struct interval ;
164- impl cynic ::schema ::Field for interval {
165- type Type = super::super ::Int ;
166- const NAME : & ' static str = "interval";
167- }
168125 impl cynic ::schema ::HasField <interval > for super::super::SubscriptionRoot {
169126 type Type = super ::super ::Int ;
127+ const NAME : & ' static str = "interval";
170128 }
171129 pub mod _interval_arguments {
172130 pub struct n ;
@@ -176,12 +134,9 @@ pub mod __fields {
176134 }
177135 }
178136 pub struct books;
179- impl cynic::schema::Field for books {
180- type Type = super ::super ::BookChanged ;
181- const NAME : & ' static str = "books";
182- }
183137 impl cynic::schema::HasField<books > for super::super::SubscriptionRoot {
184138 type Type = super ::super ::BookChanged ;
139+ const NAME : & ' static str = "books";
185140 }
186141 pub mod _books_arguments {
187142 pub struct mutationType ;
@@ -191,12 +146,9 @@ pub mod __fields {
191146 }
192147 }
193148 pub struct __typename;
194- impl cynic::schema::Field for __typename {
195- type Type = super ::super ::String ;
196- const NAME : & ' static str = "__typename";
197- }
198149 impl cynic::schema::HasField<__typename > for super::super::SubscriptionRoot {
199150 type Type = super ::super ::String ;
151+ const NAME : & ' static str = "__typename";
200152 }
201153 }
202154}
0 commit comments