theldb
Flag: Switzerland
Registered: January 27, 2022
Last post: February 23, 2022 at 4:36 PM
Posts: 1
pub struct T1Roster {
    pub curry_agent: Option<String>,
    pub thwifo_agent: Option<String>,
    pub steel_agent: String,
    pub seven_agent: Option<String>,
    pub pwny_agent: Option<String>,
}

fn main() {
    let t1_vs_ue_roster = T1Roster {
        curry_agent: None,
        thwifo_agent: None,
        steel_agent: "Chamber".to_string(),
        seven_agent: None,
        pwny_agent: None
    };

    if t1_vs_ue_roster.steel_agent == "Chamber".to_string() {
        println!("{}", true)
    }
    else {
        println!("{}", false)
    }
}
posted about 2 years ago