[][src]Struct yara::Rule

pub struct Rule<'r> {
    pub identifier: &'r str,
    pub namespace: &'r str,
    pub metadatas: Vec<Metadata<'r>>,
    pub tags: Vec<&'r str>,
    pub strings: Vec<YrString<'r>>,
}

A rule that matched during a scan.

Fields

identifier: &'r str

Name of the rule.

namespace: &'r str

Namespace of the rule.

metadatas: Vec<Metadata<'r>>

Metadatas of the rule.

tags: Vec<&'r str>

Tags of the rule.

strings: Vec<YrString<'r>>

Matcher strings of the rule.

Trait Implementations

impl<'r> Debug for Rule<'r>[src]

impl<'a> From<&'a YR_RULE> for Rule<'a>[src]

Auto Trait Implementations

impl<'r> RefUnwindSafe for Rule<'r>

impl<'r> Send for Rule<'r>

impl<'r> Sync for Rule<'r>

impl<'r> Unpin for Rule<'r>

impl<'r> UnwindSafe for Rule<'r>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.