Struct dnstap::AuthResponse
[−]
[src]
pub struct AuthResponse { pub identity: Option<Vec<u8>>, pub version: Option<Vec<u8>>, pub message_type: MessageType, pub socket_protocol: SocketProtocol, pub query_address: IpAddr, pub query_port: u16, pub query_time: Duration, pub response_packet: Vec<u8>, }
Fields
identity: Option<Vec<u8>>
version: Option<Vec<u8>>
message_type: MessageType
socket_protocol: SocketProtocol
query_address: IpAddr
query_port: u16
query_time: Duration
response_packet: Vec<u8>
Trait Implementations
impl Clone for AuthResponse
[src]
fn clone(&self) -> AuthResponse
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 AuthResponse
[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 AuthResponse
[src]
fn into(self) -> DNSMessage
Performs the conversion.