Question : rust field is never read remove warning
Answered by : attractive-addax-thlz95sj481k
//Place #[allow(dead_code)] above the line that is giving the warning
#[allow(dead_code)]
struct GivingWarning;
Source : https://stackoverflow.com/questions/25877285/how-to-disable-unused-code-warnings-in-rust | Last Update : Fri, 26 Feb 21