Struct collectd_plugin::ConfigItem [] [src]

pub struct ConfigItem<'a> {
    pub key: &'a str,
    pub values: Vec<ConfigValue<'a>>,
    pub children: Vec<ConfigItem<'a>>,
}

Parsed key, values, children objects from the Collectd config.

Fields

Key of the field, does not have to be unique

Values on the same line as the key

Sub elements

Methods

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

[src]

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for ConfigItem<'a>
[src]

[src]

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

[src]

This method tests for !=.

impl<'a> Clone for ConfigItem<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<'a> Send for ConfigItem<'a>

impl<'a> Sync for ConfigItem<'a>