pub fn push_mod(&mut self, pattern: impl Into<String>, attr: impl Into<String>) {
        self.module.push((pattern.into(), attr.into()));
    }
Add an attribute that will be added to `mod` items matching the given pattern.

# Examples

```
# use tonic_build::*;
let mut attributes = Attributes::default();
attributes.push_mod("my.proto.package", r#"#[cfg(feature = "server")]"#);
```
tonic-build/src/lib.rs