Change identifier number for DnsType and make Instance zone_id public
This commit is contained in:
parent
b6dd98f224
commit
fdf2f53e8b
1 changed files with 3 additions and 3 deletions
|
@ -17,9 +17,9 @@ struct CloudflareDnsZone {
|
|||
#[derive(Display, IntoStaticStr)]
|
||||
pub enum CloudflareDnsType {
|
||||
#[strum(serialize = "A")]
|
||||
A,
|
||||
A = 4,
|
||||
#[strum(serialize = "AAAA")]
|
||||
AAAA,
|
||||
AAAA = 6,
|
||||
TXT,
|
||||
MX
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ pub enum CloudflareDnsType {
|
|||
#[derive(Serialize, Deserialize)]
|
||||
pub struct CloudflareDnsEntry {
|
||||
id: String,
|
||||
zone_id: String,
|
||||
pub zone_id: String,
|
||||
pub name: String,
|
||||
pub r#type: CloudflareDnsType,
|
||||
content: String,
|
||||
|
|
Loading…
Reference in a new issue