Struct backend::models::content::PostUpdateInfo [−][src]
pub struct PostUpdateInfo {
pub title: String,
pub section: Vec<PostSection>,
pub tag: Vec<String>,
}
Expand description
Post updated information of request
Fields
PostUpdateInfo::title
: New title of updated postPostUpdateInfo::section
: New section of updated postPostUpdateInfo::tag
: New tag of updated post
Fields
title: String
section: Vec<PostSection>
tag: Vec<String>
Trait Implementations
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 RefUnwindSafe for PostUpdateInfo
impl Send for PostUpdateInfo
impl Sync for PostUpdateInfo
impl Unpin for PostUpdateInfo
impl UnwindSafe for PostUpdateInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more