Struct libdata::column::Headers []

pub struct Headers(_);

A multi-set of tags.

This is similar to the Tags type, but allows having multiple values of each type (or even an empty slot in each type). This is what you'd get when you combine data from multiple flows in additive manner.

However, values are deduplicated ‒ eg. there may be multiple remote IP addresses, but each one only in one instance.

Methods

impl Headers
[src]

Creates a new empty Headers.

Inserts an optional value into the set.

Returns false if it is already present. The contained value is not updated.

Panics

If Some(value) is inserted and the ident doesn't match.

Inserts another value.

If the value is already present, it is not updated and false is returned instead.

Inserts a hole of the given type.

Each type of column can contain a single None value. This inserts the None into the given type. Returns false if it was already present.

Iterates through the set by types.

Trait Implementations

impl Clone for Headers
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Headers
[src]

Formats the value using the given formatter.

impl Default for Headers
[src]

Returns the "default value" for a type. Read more

impl Eq for Headers
[src]

impl PartialEq for Headers
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for Headers
[src]

Deserialize this value from the given Serde deserializer. Read more

impl<'a> IntoIterator for &'a Headers
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more