1 2 3 4 5 6 7 8 9 10 11 12 13
#[derive(Clone, Debug)] pub struct BelongsTo<B: ToString> { pub local: String, pub remote: B, pub inverse: Option<String>, } #[derive(Clone, Debug)] pub struct HasMany<B: ToString> { pub local: String, pub remote: B, pub inverse: Option<String>, }