Struct rss::extension::Extension
[−]
[src]
pub struct Extension { /* fields omitted */ }
A namespaced extension such as iTunes or Dublin Core.
Methods
impl Extension
[src]
fn name(&self) -> &str
[src]
Return the qualified name of this extension.
fn set_name<V>(&mut self, name: V) where
V: Into<String>,
[src]
V: Into<String>,
Set the qualified name of this extension.
fn value(&self) -> Option<&str>
[src]
Return the text content of this extension.
fn set_value<V>(&mut self, value: V) where
V: Into<Option<String>>,
[src]
V: Into<Option<String>>,
Set the text content of this extension.
fn attrs(&self) -> &HashMap<String, String>
[src]
Return the attributes for the extension element.
fn children(&self) -> &HashMap<String, Vec<Extension>>
[src]
Return the children of the extension element.
This is a map of local names to child elements.
Trait Implementations
impl Debug for Extension
[src]
impl Default for Extension
[src]
impl Clone for Extension
[src]
fn clone(&self) -> Extension
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more