onesignal_rust_api/models/
notification200_errors.rs

1/*
2 * OneSignal
3 *
4 * A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
5 *
6 * The version of the OpenAPI document: 1.4.1
7 * Contact: devrel@onesignal.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct Notification200Errors {
16    /// Returned if using include_external_user_ids
17    #[serde(rename = "invalid_external_user_ids", skip_serializing_if = "Option::is_none")]
18    pub invalid_external_user_ids: Option<Vec<String>>,
19    /// Returned if using include_player_ids and some were valid and others were not.
20    #[serde(rename = "invalid_player_ids", skip_serializing_if = "Option::is_none")]
21    pub invalid_player_ids: Option<Vec<String>>,
22}
23
24impl Notification200Errors {
25    pub fn new() -> Notification200Errors {
26        Notification200Errors {
27            invalid_external_user_ids: None,
28            invalid_player_ids: None,
29        }
30    }
31}
32
33