onesignal_rust_api/models/
generic_error_errors_inner.rs1#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct GenericErrorErrorsInner {
16 #[serde(rename = "code", skip_serializing_if = "Option::is_none")]
17 pub code: Option<String>,
18 #[serde(rename = "title", skip_serializing_if = "Option::is_none")]
19 pub title: Option<String>,
20}
21
22impl GenericErrorErrorsInner {
23 pub fn new() -> GenericErrorErrorsInner {
24 GenericErrorErrorsInner {
25 code: None,
26 title: None,
27 }
28 }
29}
30
31