You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[derive(Dto)]
| ^^^ private field
|
= note: this error originates in the derive macro Dto (in Nightly builds, run with -Z macro-backtrace for more info)
The text was updated successfully, but these errors were encountered:
pub struct PostVo{
title:String,
body:String
}
use dto_derive::Dto;
use crate::vo::post::PostVo;
#[derive(Dto)]
#[dto(request)]
#[dto(entity="PostVo")]
#[dto(map="body:content")]
#[dto(skip = "csrf_token")]
pub struct NewPost{
pub(crate) title:String,
pub(crate) content:String,
pub(crate) csrf_token:String,
}
#[derive(Dto)]
| ^^^ private field
|
= note: this error originates in the derive macro
Dto
(in Nightly builds, run with -Z macro-backtrace for more info)The text was updated successfully, but these errors were encountered: