| Crates.io | typology |
| lib.rs | typology |
| version | 0.1.1 |
| created_at | 2024-05-13 15:24:38.328215+00 |
| updated_at | 2024-05-13 15:30:29.993873+00 |
| description | Type derivation for foreign use |
| homepage | https://github.com/limpix31/typology |
| repository | https://github.com/limpix31/typology.git |
| max_upload_size | |
| id | 1238562 |
| size | 2,279 |
use typology::{Typology, type_of};
#[derive(Debug, Typology)]
struct User {
username: String,
age: u8,
other: Box<[String]>
}
// Will be String
type UsernameField = type_of!(User::username);