(c: responses::GetinfoAddress)
| 15 | #[allow(unused_variables)] |
| 16 | impl From<responses::GetinfoAddress> for pb::GetinfoAddress { |
| 17 | fn from(c: responses::GetinfoAddress) -> Self { |
| 18 | Self { |
| 19 | item_type: c.item_type as i32, |
| 20 | port: c.port.into(), // Rule #2 for type u16 |
| 21 | address: c.address, // Rule #2 for type string? |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | #[allow(unused_variables)] |