Struct onesignal_rust_api::models::create_notification_success_response::CreateNotificationSuccessResponse
source · pub struct CreateNotificationSuccessResponse {
pub id: String,
pub recipients: i32,
pub external_id: Option<String>,
pub errors: Option<Box<Notification200Errors>>,
}
Fields§
§id: String
§recipients: i32
Estimated number of subscribers targetted by notification.
external_id: Option<String>
§errors: Option<Box<Notification200Errors>>
Implementations§
source§impl CreateNotificationSuccessResponse
impl CreateNotificationSuccessResponse
pub fn new(id: String, recipients: i32) -> CreateNotificationSuccessResponse
Trait Implementations§
source§impl Clone for CreateNotificationSuccessResponse
impl Clone for CreateNotificationSuccessResponse
source§fn clone(&self) -> CreateNotificationSuccessResponse
fn clone(&self) -> CreateNotificationSuccessResponse
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 Default for CreateNotificationSuccessResponse
impl Default for CreateNotificationSuccessResponse
source§fn default() -> CreateNotificationSuccessResponse
fn default() -> CreateNotificationSuccessResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateNotificationSuccessResponse
impl<'de> Deserialize<'de> for CreateNotificationSuccessResponse
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<CreateNotificationSuccessResponse> for CreateNotificationSuccessResponse
impl PartialEq<CreateNotificationSuccessResponse> for CreateNotificationSuccessResponse
source§fn eq(&self, other: &CreateNotificationSuccessResponse) -> bool
fn eq(&self, other: &CreateNotificationSuccessResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.