pub struct Article {
pub alternate: Option<Vec<(String, Url)>>,
pub authors: Vec<Author>,
pub canonical: Url,
pub content: Option<Vec<Content>>,
pub description: Option<String>,
pub hero_image: Option<Url>,
pub images: Option<Vec<Image>>,
pub published: Option<DateTime<Utc>>,
pub title: String,
}Fields§
§alternate: Option<Vec<(String, Url)>>§canonical: Url§content: Option<Vec<Content>>§description: Option<String>§hero_image: Option<Url>§images: Option<Vec<Image>>§published: Option<DateTime<Utc>>§title: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Article
impl RefUnwindSafe for Article
impl Send for Article
impl Sync for Article
impl Unpin for Article
impl UnsafeUnpin for Article
impl UnwindSafe for Article
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.