/// Events mode should be always present.
Events mode should be always present.
Events mode should be always present .
fn check_events_mode(
    mode: &Option<fsys::EventMode>,
    decl_type: &str,
    field_name: &str,
    errors: &mut Vec<Error>,
) {
    if mode.is_none() {
        errors.push(Error::missing_field(decl_type, field_name));
    }
}
fn check_events_mode ( mode : & Option < fsys :: EventMode > , decl_type : & str , field_name : & str , errors : & mut Vec < Error > , ) { if mode . is_none ( ) { errors . push ( Error :: missing_field ( decl_type , field_name ) ) ; } }
Events mode should be always present.
Events mode should be always present .
mode
&Option<fsys::EventMode>
decl_type
&str
field_name
&str
errors
&mut Vec<Error>