adjust visibility of inner response
This commit is contained in:
parent
eeba5647f9
commit
f1d8ddc9b8
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