pub struct BlogPost {
pub id: String,
pub location_id: String,
pub title: String,
pub status: Option<String>,
pub date_added: Option<String>,
pub url_slug: Option<String>,
}Fields§
§id: String§location_id: String§title: String§status: Option<String>§date_added: Option<String>§url_slug: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlogPost
impl<'de> Deserialize<'de> for BlogPost
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 BlogPost
impl RefUnwindSafe for BlogPost
impl Send for BlogPost
impl Sync for BlogPost
impl Unpin for BlogPost
impl UnsafeUnpin for BlogPost
impl UnwindSafe for BlogPost
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