Struct grok::Matches [] [src]

pub struct Matches<'a> { /* fields omitted */ }

The Matches represent matched results from a Pattern against text.

Methods

impl<'a> Matches<'a>
[src]

[src]

Instantiates the matches for a pattern after the match.

[src]

Gets the value for the name (or) alias if found, None otherwise.

[src]

Returns the number of matches.

[src]

Returns true if there are no matches, false otherwise.

[src]

Returns a tuple of key/value with all the matches found.

Note that if no match is found, the value is empty.

Trait Implementations

impl<'a> Debug for Matches<'a>
[src]

[src]

Formats the value using the given formatter.