pub struct Query {
pub timestring: NaiveDateTime,
pub query_type: QueryType,
pub domain: String,
pub client: String,
pub status: QueryStatus,
pub dnssec_status: DNSSECStatus,
pub reply_type: ReplyType,
pub response_time: Duration,
pub cname_domain: String,
pub regex_id: i32,
pub upstream_destination: String,
pub ede: String,
}
Expand description
Query Struct
Fields§
§timestring: NaiveDateTime
Timestamp of query
query_type: QueryType
Type of query (A, AAAA, PTR, etc.)
domain: String
Requested domain name
client: String
Requesting client IP or hostname
status: QueryStatus
Status as String
dnssec_status: DNSSECStatus
DNSSEC Status
reply_type: ReplyType
Reply Type
response_time: Duration
Response time
cname_domain: String
CNAME domain
regex_id: i32
Regex ID
upstream_destination: String
Upstream Destination
ede: String
EDE
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Query
impl<'de> Deserialize<'de> for Query
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
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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