[][src]Struct opml::Head

pub struct Head {
    pub title: Option<String>,
    pub date_created: Option<String>,
    pub date_modified: Option<String>,
    pub owner_name: Option<String>,
    pub owner_email: Option<String>,
    pub owner_id: Option<String>,
    pub docs: Option<String>,
    pub expansion_state: Option<String>,
    pub vert_scroll_state: Option<i32>,
    pub window_top: Option<i32>,
    pub window_left: Option<i32>,
    pub window_bottom: Option<i32>,
    pub window_right: Option<i32>,
}

A <head> contains zero or more optional elements.

Fields

title: Option<String>

The title of the document.

date_created: Option<String>

A date-time (RFC822) indicating when the document was created.

date_modified: Option<String>

A date-time (RFC822) indicating when the document was last modified.

owner_name: Option<String>

The owner of the document.

owner_email: Option<String>

The email address of the owner of the document.

owner_id: Option<String>

A link to the website of the owner of the document.

docs: Option<String>

A link to the documentation of the OPML format.

expansion_state: Option<String>

A comma-separated list of line numbers that are expanded. The line numbers in the list tell you which headlines to expand. The order is important. For each element in the list, X, starting at the first summit, navigate flatdown X times and expand. Repeat for each element in the list.

vert_scroll_state: Option<i32>

A number indicating which line of the outline is displayed on the top line of the window. This number is calculated with the expansion state already applied.

window_top: Option<i32>

The pixel location of the top edge of the window.

window_left: Option<i32>

The pixel location of the left edge of the window.

window_bottom: Option<i32>

The pixel location of the bottom edge of the window.

window_right: Option<i32>

The pixel location of the right edge of the window.

Trait Implementations

impl Debug for Head[src]

impl PartialEq<Head> for Head[src]

impl StructuralPartialEq for Head[src]

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

impl XmlWrite for Head[src]

Auto Trait Implementations

impl RefUnwindSafe for Head

impl Send for Head

impl Sync for Head

impl Unpin for Head

impl UnwindSafe for Head

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]