fastly_api/models/
billing_address_verification_error_response_errors.rs1#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct BillingAddressVerificationErrorResponseErrors {
13 #[serde(rename = "type")]
15 pub _type: String,
16 #[serde(rename = "title")]
17 pub title: String,
18 #[serde(rename = "detail")]
19 pub detail: String,
20 #[serde(rename = "status")]
21 pub status: f32,
22 #[serde(rename = "candidates", skip_serializing_if = "Option::is_none")]
23 pub candidates: Option<Vec<crate::models::BillingAddressAttributes>>,
24}
25
26impl BillingAddressVerificationErrorResponseErrors {
27 pub fn new(_type: String, title: String, detail: String, status: f32) -> BillingAddressVerificationErrorResponseErrors {
28 BillingAddressVerificationErrorResponseErrors {
29 _type,
30 title,
31 detail,
32 status,
33 candidates: None,
34 }
35 }
36}
37
38