pub struct Discovery {
pub nameservers: Vec<String>,
pub server: String,
pub wildcard: bool,
pub queries: u32,
pub notes: Vec<String>,
pub document: ZoneDocument,
}Expand description
What Zones::discover found.
Fields§
§nameservers: Vec<String>The nameserver host names asked.
server: StringThe address that answered.
wildcard: boolWhether the zone answers any name (a wildcard); Core then proposes *.
queries: u32DNS questions asked.
notes: Vec<String>Remarks for the user (e.g. names skipped for lack of time).
document: ZoneDocumentThe proposal: records only, to review, trim and import. Only A/AAAA carry their real ttl; the others get the zone default.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Discovery
impl<'de> Deserialize<'de> for Discovery
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
impl StructuralPartialEq for Discovery
Auto Trait Implementations§
impl Freeze for Discovery
impl RefUnwindSafe for Discovery
impl Send for Discovery
impl Sync for Discovery
impl Unpin for Discovery
impl UnsafeUnpin for Discovery
impl UnwindSafe for Discovery
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