Struct rss::extension::Extension
[−]
[src]
pub struct Extension {
pub name: String,
pub value: Option<String>,
pub attrs: HashMap<String, String>,
pub children: HashMap<String, Vec<Extension>>,
}A namespaced extension such as iTunes or Dublin Core.
Fields
name: String
The qualified name of the extension element.
value: Option<String>
The content of the extension element.
attrs: HashMap<String, String>
The attributes for the extension element.
children: HashMap<String, Vec<Extension>>
The children of the extension element. This is a map of local names to child elements.
Trait Implementations
impl PartialEq for Extension[src]
fn eq(&self, __arg_0: &Extension) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Extension) -> bool
This method tests for !=.
impl Clone for Extension[src]
fn clone(&self) -> Extension
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more