[][src]Struct opml::OPML

pub struct OPML {
    pub version: String,
    pub head: Head,
    pub body: Body,
}

is an XML element, with a single required attribute, version; a element and a

element, both of which are required.

Fields

version: String

The version attribute is a version string, of the form, x.y, where x and y are both numeric strings.

head: Head

A contains zero or more optional elements.

body: Body

Implementations

impl OPML[src]

pub fn new(xml: &str) -> Result<Self, String>[src]

Parses an OPML file.

Trait Implementations

impl Debug for OPML[src]

impl PartialEq<OPML> for OPML[src]

impl StructuralPartialEq for OPML[src]

impl<'__input> XmlRead<'__input> for OPML[src]

impl XmlWrite for OPML[src]

Auto Trait Implementations

impl RefUnwindSafe for OPML

impl Send for OPML

impl Sync for OPML

impl Unpin for OPML

impl UnwindSafe for OPML

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> XmlReadOwned for T where
    T: for<'s> XmlRead<'s>, 
[src]