Support vectors in to_string
Open
enhancement
help wanted
- Dominant language
- Rust
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently, a vector would have to be wrapped in another struct that implements the `ToString` trait.
Ideally, we want to be able to do this:
```rust
#[table_row]
struct Row {
id: u32,
privileges: Vec
}
```
And when calling the `to_string` method, this would output:
```
+----+------------+
| id | privileges |
+====+============+
| 1 | admin |
| | user |
+----+------------+
| 2 | user |
+----+------------+
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.