pub struct ExportZoneFileResponse {
pub zonefile: String,
}Expand description
ExportZoneFileResponse : Response to GET https://api.hetzner.cloud/v1/zones/{id_or_name}/zonefile
Fields§
§zonefile: StringGenerated zone file. Example: dns $ORIGIN example.com. $TTL 3600 @ IN SOA hydrogen.ns.hetzner.com. dns.hetzner.com. 2024010100 86400 10800 3600000 3600 @ IN 10800 NS hydrogen.ns.hetzner.com. ; Some comment. @ IN 10800 NS oxygen.ns.hetzner.com. @ IN 10800 NS helium.ns.hetzner.de.
Implementations§
Source§impl ExportZoneFileResponse
impl ExportZoneFileResponse
Sourcepub fn new(zonefile: String) -> ExportZoneFileResponse
pub fn new(zonefile: String) -> ExportZoneFileResponse
Response to GET https://api.hetzner.cloud/v1/zones/{id_or_name}/zonefile
Trait Implementations§
Source§impl Clone for ExportZoneFileResponse
impl Clone for ExportZoneFileResponse
Source§fn clone(&self) -> ExportZoneFileResponse
fn clone(&self) -> ExportZoneFileResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportZoneFileResponse
impl Debug for ExportZoneFileResponse
Source§impl Default for ExportZoneFileResponse
impl Default for ExportZoneFileResponse
Source§fn default() -> ExportZoneFileResponse
fn default() -> ExportZoneFileResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExportZoneFileResponse
impl<'de> Deserialize<'de> for ExportZoneFileResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExportZoneFileResponse
impl PartialEq for ExportZoneFileResponse
Source§fn eq(&self, other: &ExportZoneFileResponse) -> bool
fn eq(&self, other: &ExportZoneFileResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExportZoneFileResponse
impl Serialize for ExportZoneFileResponse
impl StructuralPartialEq for ExportZoneFileResponse
Auto Trait Implementations§
impl Freeze for ExportZoneFileResponse
impl RefUnwindSafe for ExportZoneFileResponse
impl Send for ExportZoneFileResponse
impl Sync for ExportZoneFileResponse
impl Unpin for ExportZoneFileResponse
impl UnsafeUnpin for ExportZoneFileResponse
impl UnwindSafe for ExportZoneFileResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more