(mut self, id: StateId, label: &str)
| 40 | /// Set state with a custom label (OCSF `state_id` + display label). |
| 41 | #[must_use] |
| 42 | pub fn state(mut self, id: StateId, label: &str) -> Self { |
| 43 | self.state_id = Some(id); |
| 44 | self.state_label = Some(label.to_string()); |
| 45 | self |
| 46 | } |
| 47 | |
| 48 | #[must_use] |
| 49 | pub fn security_level(mut self, id: SecurityLevelId) -> Self { |
no outgoing calls