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
sourceimpl CreateNotificationSuccessResponse
impl CreateNotificationSuccessResponse
pub fn new(id: String, recipients: i32) -> CreateNotificationSuccessResponse
Trait Implementations
sourceimpl Clone for CreateNotificationSuccessResponse
impl Clone for CreateNotificationSuccessResponse
sourcefn clone(&self) -> CreateNotificationSuccessResponse
fn clone(&self) -> CreateNotificationSuccessResponse
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 Default for CreateNotificationSuccessResponse
impl Default for CreateNotificationSuccessResponse
sourcefn default() -> CreateNotificationSuccessResponse
fn default() -> CreateNotificationSuccessResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CreateNotificationSuccessResponse
impl<'de> Deserialize<'de> for CreateNotificationSuccessResponse
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<CreateNotificationSuccessResponse> for CreateNotificationSuccessResponse
impl PartialEq<CreateNotificationSuccessResponse> for CreateNotificationSuccessResponse
sourcefn eq(&self, other: &CreateNotificationSuccessResponse) -> bool
fn eq(&self, other: &CreateNotificationSuccessResponse) -> bool
impl StructuralPartialEq for CreateNotificationSuccessResponse
Auto Trait Implementations
impl RefUnwindSafe for CreateNotificationSuccessResponse
impl Send for CreateNotificationSuccessResponse
impl Sync for CreateNotificationSuccessResponse
impl Unpin for CreateNotificationSuccessResponse
impl UnwindSafe for CreateNotificationSuccessResponse
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