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 duplicate 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
impl StructuralPartialEq for GetNotificationRequestBody
Auto Trait Implementations§
impl Freeze for GetNotificationRequestBody
impl RefUnwindSafe for GetNotificationRequestBody
impl Send for GetNotificationRequestBody
impl Sync for GetNotificationRequestBody
impl Unpin for GetNotificationRequestBody
impl UnwindSafe for GetNotificationRequestBody
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more