[−][src]Struct sitemap::structs::UrlEntryBuilder
Builds UrlEntry
structure
Implementations
impl UrlEntryBuilder
[src]
pub fn loc<S: Into<String>>(self, url: S) -> UrlEntryBuilder
[src]
Defines loc
tag
pub fn lastmod(self, date: DateTime<FixedOffset>) -> UrlEntryBuilder
[src]
Defines lastmod
tag
pub fn changefreq(self, changefreq: ChangeFreq) -> UrlEntryBuilder
[src]
Defines changefreq
tag
pub fn priority(self, val: f32) -> UrlEntryBuilder
[src]
Defines priority
tag
pub fn build(self) -> Result<UrlEntry, Error>
[src]
Builds UrlEntry
structure
Trait Implementations
impl Clone for UrlEntryBuilder
[src]
fn clone(&self) -> UrlEntryBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UrlEntryBuilder
[src]
impl Into<UrlEntry> for UrlEntryBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for UrlEntryBuilder
impl Send for UrlEntryBuilder
impl Sync for UrlEntryBuilder
impl Unpin for UrlEntryBuilder
impl UnwindSafe for UrlEntryBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,