Struct dnstap::AuthQuery
[−]
[src]
pub struct AuthQuery { pub identity: Option<Vec<u8>>, pub version: Option<Vec<u8>>, pub socket_protocol: SocketProtocol, pub query_address: IpAddr, pub query_port: u16, pub query_time: Duration, pub query_packet: Vec<u8>, }
Fields
identity: Option<Vec<u8>>
version: Option<Vec<u8>>
socket_protocol: SocketProtocol
query_address: IpAddr
query_port: u16
query_time: Duration
query_packet: Vec<u8>
Trait Implementations
impl Clone for AuthQuery
[src]
fn clone(&self) -> AuthQuery
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Hash for AuthQuery
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Into<DNSMessage> for AuthQuery
[src]
fn into(self) -> DNSMessage
Performs the conversion.