pub struct CreateNotificationSuccessResponse {
pub id: Option<String>,
pub external_id: Option<String>,
pub errors: Option<Value>,
}Fields§
§id: Option<String>Notification identifier when the request created a notification. An empty string means no notification was created; read errors for details (HTTP may still be 200).
external_id: Option<String>Optional correlation / idempotency-related value from the API response. This is not the end-user External ID used for targeting recipients (that lives under include_aliases.external_id).
errors: Option<Value>Polymorphic field: may be an array of human-readable strings and/or an object (for example with invalid_aliases, invalid_external_user_ids, or invalid_player_ids) depending on the API response; HTTP may still be 200 with partial success. Typed SDKs model this loosely so both shapes deserialize.
Implementations§
Trait Implementations§
Source§impl Clone for CreateNotificationSuccessResponse
impl Clone for CreateNotificationSuccessResponse
Source§fn clone(&self) -> CreateNotificationSuccessResponse
fn clone(&self) -> CreateNotificationSuccessResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 for CreateNotificationSuccessResponse
impl PartialEq for CreateNotificationSuccessResponse
Source§fn eq(&self, other: &CreateNotificationSuccessResponse) -> bool
fn eq(&self, other: &CreateNotificationSuccessResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateNotificationSuccessResponse
Auto Trait Implementations§
impl Freeze for CreateNotificationSuccessResponse
impl RefUnwindSafe for CreateNotificationSuccessResponse
impl Send for CreateNotificationSuccessResponse
impl Sync for CreateNotificationSuccessResponse
impl Unpin for CreateNotificationSuccessResponse
impl UnsafeUnpin for CreateNotificationSuccessResponse
impl UnwindSafe for CreateNotificationSuccessResponse
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