scaleway_api_rs/models/
scaleway_domain_v2beta1_record_geo_ip_config.rs

1/*
2 * Account API
3 *
4 * # Introduction  The Account API allows you to manage projects. Project is Scaleway’s resource management feature. Designed to help you organize your infrastructure and cloud services, the feature allows resources to be isolated and grouped into specific projects.
5 *
6 * The version of the OpenAPI document: v2
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct ScalewayDomainV2beta1RecordGeoIpConfig {
13    #[serde(rename = "matches", skip_serializing_if = "Option::is_none")]
14    pub matches: Option<Vec<crate::models::ScalewayPeriodDomainPeriodV2beta1PeriodRecordPeriodGeoIpConfigPeriodMatch>>,
15    #[serde(rename = "default", skip_serializing_if = "Option::is_none")]
16    pub default: Option<String>,
17}
18
19impl ScalewayDomainV2beta1RecordGeoIpConfig {
20    pub fn new() -> ScalewayDomainV2beta1RecordGeoIpConfig {
21        ScalewayDomainV2beta1RecordGeoIpConfig {
22            matches: None,
23            default: None,
24        }
25    }
26}