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
sourceimpl GetNotificationRequestBody
impl GetNotificationRequestBody
pub fn new() -> GetNotificationRequestBody
Trait Implementations
sourceimpl Clone for GetNotificationRequestBody
impl Clone for GetNotificationRequestBody
sourcefn clone(&self) -> GetNotificationRequestBody
fn clone(&self) -> GetNotificationRequestBody
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetNotificationRequestBody
impl Debug for GetNotificationRequestBody
sourceimpl Default for GetNotificationRequestBody
impl Default for GetNotificationRequestBody
sourcefn default() -> GetNotificationRequestBody
fn default() -> GetNotificationRequestBody
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetNotificationRequestBody
impl<'de> Deserialize<'de> for GetNotificationRequestBody
sourcefn 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
sourceimpl PartialEq<GetNotificationRequestBody> for GetNotificationRequestBody
impl PartialEq<GetNotificationRequestBody> for GetNotificationRequestBody
sourcefn eq(&self, other: &GetNotificationRequestBody) -> bool
fn eq(&self, other: &GetNotificationRequestBody) -> bool
impl StructuralPartialEq for GetNotificationRequestBody
Auto Trait Implementations
impl RefUnwindSafe for GetNotificationRequestBody
impl Send for GetNotificationRequestBody
impl Sync for GetNotificationRequestBody
impl Unpin for GetNotificationRequestBody
impl UnwindSafe for GetNotificationRequestBody
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more