< 返回版块

tokyohuang123 发表于 2021-05-19 17:34

Tags:serde, async_std,PathBuf

前面帖忘记写标题了 重发一份 大佬们 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 页