app-store-server-library 6.0.0

The Rust server library for the App Store Server API, App Store Server Notifications and Advanced Commerce API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::collections::HashMap;

use crate::models::send_attempt_result::SendAttemptResult;

/// A map of server-to-server notification failure reasons and counts that represent
/// the number of failures encountered during the performance test.
///
/// The keys are SendAttemptResult values describing the success or error the server encountered
/// as it attempted to send a notification.
///
/// [Failures](https://developer.apple.com/documentation/retentionmessaging/failures)
pub type Failures = HashMap<SendAttemptResult, i32>;