(
source: impl Into<String>,
profile_id: impl Into<String>,
field: impl Into<String>,
message: impl Into<String>,
)
| 61 | |
| 62 | impl ProfileValidationDiagnostic { |
| 63 | fn error( |
| 64 | source: impl Into<String>, |
| 65 | profile_id: impl Into<String>, |
| 66 | field: impl Into<String>, |
| 67 | message: impl Into<String>, |
| 68 | ) -> Self { |
| 69 | Self { |
| 70 | source: source.into(), |
| 71 | profile_id: profile_id.into(), |
| 72 | field: field.into(), |
| 73 | message: message.into(), |
| 74 | severity: "error".to_string(), |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | #[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq)] |
no outgoing calls
no test coverage detected