[−][src]Struct extrablatt::article::ArticleContentBuilder
Fields
title: Option<Cow<'a, str>>
publishing_date: Option<ArticleDate>
keywords: Option<Vec<Cow<'a, str>>>
description: Option<Cow<'a, str>>
text: Option<Cow<'a, str>>
language: Option<Language>
thumbnail: Option<Url>
top_image: Option<Url>
references: Option<Vec<Url>>
images: Option<Vec<Url>>
videos: Option<Vec<Url>>
Implementations
impl<'a> ArticleContentBuilder<'a>
[src]
pub fn authors(self, authors: Vec<Cow<'a, str>>) -> Self
[src]
pub fn title(self, title: Cow<'a, str>) -> Self
[src]
pub fn publishing_date(self, date: ArticleDate) -> Self
[src]
pub fn keywords(self, keywords: Vec<Cow<'a, str>>) -> Self
[src]
pub fn description(self, description: Cow<'a, str>) -> Self
[src]
pub fn text(self, text: Cow<'a, str>) -> Self
[src]
pub fn language(self, language: Language) -> Self
[src]
pub fn thumbnail(self, thumbnail: Url) -> Self
[src]
pub fn top_image(self, top_image: Url) -> Self
[src]
pub fn references(self, references: Vec<Url>) -> Self
[src]
pub fn images(self, images: Vec<Url>) -> Self
[src]
pub fn videos(self, videos: Vec<Url>) -> Self
[src]
pub fn build(self) -> ArticleContent<'a>
[src]
Trait Implementations
impl<'a> Debug for ArticleContentBuilder<'a>
[src]
impl<'a> Default for ArticleContentBuilder<'a>
[src]
fn default() -> ArticleContentBuilder<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for ArticleContentBuilder<'a>
impl<'a> Send for ArticleContentBuilder<'a>
impl<'a> Sync for ArticleContentBuilder<'a>
impl<'a> Unpin for ArticleContentBuilder<'a>
impl<'a> UnwindSafe for ArticleContentBuilder<'a>
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,
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, 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.
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>,