[][src]Struct sitemap::structs::SiteMapEntry

pub struct SiteMapEntry {
    pub loc: Location,
    pub lastmod: LastMod,
}

Sitemap entry. Contains url location and modification time.

Fields

loc: Location

URL of the sitemap.

lastmod: LastMod

The date of last modification of the file.

Implementations

impl SiteMapEntry[src]

pub fn new() -> SiteMapEntry[src]

Creates a new empty SiteMapEntry.

pub fn builder() -> SiteMapEntryBuilder[src]

Creates builder for SiteMapEntry structure

Trait Implementations

impl Clone for SiteMapEntry[src]

impl Debug for SiteMapEntry[src]

impl Into<SiteMapEntry> for SiteMapEntryBuilder[src]

fn into(self) -> SiteMapEntry[src]

Panics when builder is misconfigured.

impl Into<SiteMapEntry> for Url[src]

fn into(self) -> SiteMapEntry[src]

Notably does not panic

impl Into<SiteMapEntry> for String[src]

fn into(self) -> SiteMapEntry[src]

Panics when url is invalid

impl Into<SiteMapEntry> for &'static str[src]

fn into(self) -> SiteMapEntry[src]

Panics when url is invalid

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.