(os: SupportedOs)
| 67 | |
| 68 | impl From<SupportedOs> for SupportedOsSerde { |
| 69 | fn from(os: SupportedOs) -> Self { |
| 70 | SupportedOsSerde { |
| 71 | os: os.id().to_string(), |
| 72 | os_version: os.version().to_string(), |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | |
| 77 | /// Linux distribution, identified by the `sysinfo` distribution id. |