Struct usiem::events::dns::DnsEvent [−][src]
Fields
source_ip: SiemIp
Client that queried
destination_ip: SiemIp
Server that answered the question
op_code: DnsEventType
Answer or question
record_type: DnsRecordType
dns.question.type or dns.answer.type
record_name: Cow<'static, str>
dns.question.name or dns.answer.name
data: Option<Cow<'static, str>>
Implementations
impl DnsEvent
[src]
pub fn source_ip(&self) -> &SiemIp
[src]
pub fn destination_ip(&self) -> &SiemIp
[src]
pub fn op_code(&self) -> &DnsEventType
[src]
pub fn record_type(&self) -> &DnsRecordType
[src]
pub fn record_name(&self) -> &str
[src]
pub fn data(&self) -> &Option<Cow<'static, str>>
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DnsEvent
[src]
impl Send for DnsEvent
[src]
impl Sync for DnsEvent
[src]
impl Unpin for DnsEvent
[src]
impl UnwindSafe for DnsEvent
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,