fn is_special(goal: &GoalResponse) -> bool {
    match goal.period.parse::<u64>() {
        Ok(period) => period >= 4,
        Err(_) => true,
    }
}
/// Returns true if the goal scored was done in
/// overtime or in a shootout
Returns true if the goal scored was done in
overtime or in a shootout
Returns true if the goal scored was done in overtime or in a shootout
fn is_special(goal: &GoalResponse) -> bool {
    match goal.period.parse::<u64>() {
        Ok(period) => period >= 4,
        Err(_) => true,
    }
}
fn is_special ( goal : & GoalResponse ) -> bool { match goal . period . parse :: < u64 > ( ) { Ok ( period ) => period >= 4 , Err ( _ ) => true , } }
Returns true if the goal scored was done in
overtime or in a shootout
Returns true if the goal scored was done in overtime or in a shootout
goal
&GoalResponse
goal
&GoalResponse