pub struct BlogFields {
pub id: Option<i64>,
pub title: Option<String>,
pub status: Option<String>,
pub body: Option<String>,
pub author: Option<String>,
pub url: Option<String>,
pub url_alias: Option<String>,
pub body_html: Option<String>,
pub date: Option<DocumentDates>,
}Expand description
Represents the fields of a blog record returned by the ReliefWeb API.
Fields§
§id: Option<i64>Unique identifier of the blog.
title: Option<String>Title of the blog.
status: Option<String>Status of the blog record.
body: Option<String>Main body content of the blog.
Author of the blog.
url: Option<String>URL linking to the blog record.
url_alias: Option<String>Alternative URL or alias for the blog.
body_html: Option<String>HTML body content of the blog.
date: Option<DocumentDates>Various dates associated with the blog (created, changed, etc.).
Trait Implementations§
Source§impl Debug for BlogFields
impl Debug for BlogFields
Source§impl<'de> Deserialize<'de> for BlogFields
impl<'de> Deserialize<'de> for BlogFields
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BlogFields
impl RefUnwindSafe for BlogFields
impl Send for BlogFields
impl Sync for BlogFields
impl Unpin for BlogFields
impl UnsafeUnpin for BlogFields
impl UnwindSafe for BlogFields
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