square_api_client/models/
resume_subscription_response.rs

1//! Response body struct for the Resume Subscription API
2
3use serde::Deserialize;
4
5use super::{errors::Error, Subscription, SubscriptionAction};
6
7/// This is the model struct for the ResumeSubscriptionResponse type.
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct ResumeSubscriptionResponse {
10    /// Errors encountered during the request.
11    pub errors: Option<Vec<Error>>,
12    /// The resumed subscription.
13    pub subscription: Option<Subscription>,
14    /// A list of `RESUME` actions created by the request and scheduled for the subscription.
15    pub actions: Option<Vec<SubscriptionAction>>,
16}