前面帖忘记写标题了 重发一份 大佬们 src/entity/file.rs:12:5 | 12 | pub filepath: PathBuf, | ^^^ the trait Serialize is not implemented for async_std::path::PathBuf | = note: required by user::_::_serde::ser::SerializeStruct::serialize_field 这个async_std::path::PathBuf 其实还是用std::path::PathBuf 这种怎么serde实现Serialize
1
共 0 条评论, 1 页
评论区
写评论还没有评论