(name: &str, rule_type: &str)
| 23 | /// Create a new firewall rule. |
| 24 | #[must_use] |
| 25 | pub fn new(name: &str, rule_type: &str) -> Self { |
| 26 | Self { |
| 27 | name: name.to_string(), |
| 28 | rule_type: rule_type.to_string(), |
| 29 | } |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | #[cfg(test)] |
nothing calls this directly
no outgoing calls
no test coverage detected