Struct onesignal_rust_api::models::get_notification_request_body::GetNotificationRequestBody
source · pub struct GetNotificationRequestBody {
pub events: Option<EventsType>,
pub email: Option<String>,
pub app_id: Option<String>,
}
Fields§
§events: Option<EventsType>
-> "sent" - All the devices by player_id that were sent the specified notification_id. Notifications targeting under 1000 recipients will not have "sent" events recorded, but will show "clicked" events. "clicked" - All the devices by player_id
that clicked the specified notification_id.
email: Option<String>
The email address you would like the report sent.
app_id: Option<String>
Implementations§
source§impl GetNotificationRequestBody
impl GetNotificationRequestBody
pub fn new() -> GetNotificationRequestBody
Trait Implementations§
source§impl Clone for GetNotificationRequestBody
impl Clone for GetNotificationRequestBody
source§fn clone(&self) -> GetNotificationRequestBody
fn clone(&self) -> GetNotificationRequestBody
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetNotificationRequestBody
impl Debug for GetNotificationRequestBody
source§impl Default for GetNotificationRequestBody
impl Default for GetNotificationRequestBody
source§fn default() -> GetNotificationRequestBody
fn default() -> GetNotificationRequestBody
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetNotificationRequestBody
impl<'de> Deserialize<'de> for GetNotificationRequestBody
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<GetNotificationRequestBody> for GetNotificationRequestBody
impl PartialEq<GetNotificationRequestBody> for GetNotificationRequestBody
source§fn eq(&self, other: &GetNotificationRequestBody) -> bool
fn eq(&self, other: &GetNotificationRequestBody) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.