adjust visibility of inner response
This commit is contained in:
parent
1daee85581
commit
c83c304bbe
5 changed files with 11 additions and 7 deletions
|
|
@ -141,7 +141,7 @@ fn impl_api_category(ast: &syn::DeriveInput) -> TokenStream {
|
|||
);
|
||||
|
||||
let gen = quote! {
|
||||
pub struct Response(crate::ApiResponse);
|
||||
pub struct Response(pub crate::ApiResponse);
|
||||
|
||||
impl Response {
|
||||
#(#accessors)*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue