-
|
Hello! I've been working with mlua for more than a week and I'm now stuck on this problem. I'm using my lua script to read a file ( Here is the struct I'm expecting to deserialize the table into, with #[derive(Deserialize)]
struct InterFileDetails {
pub tag: String,
pub folder_name: String,
pub last_modified: SystemTime,
pub data: Option<?>,
}Here are the deserialize errors I get for each type I tried to substitute the question mark with:
What type exactly should I substitute the question mark with to retrieve my bytestring using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
You can use |
Beta Was this translation helpful? Give feedback.
You can use
BStringorBytes(frombytescrate withserdefeature flag)