INNER CODE UNIT · Rust
into_schema
graphql-rust/graphql-client · graphql-introspection-query/src/introspection_response.rs:300
pub fn into_schema(self) -> SchemaContainer {
match self {
IntrospectionResponse::FullResponse(full_response) => full_response.data,
IntrospectionResponse::Schema(schema) => schema,
}
}
}