Struct backend::models::content::PostInfo [−][src]
pub struct PostInfo {
pub title: String,
pub burrow_id: i64,
pub section: Vec<PostSection>,
pub tag: Vec<String>,
pub content: String,
}Expand description
Post create information of request
Fields
PostInfo::title: Title of the postPostInfo::burrow_id: Burrow id of the postPostInfo::section: Section of the postPostInfo::tag: Tag of the postPostInfo::content: Content of the post
Fields
title: Stringburrow_id: i64section: Vec<PostSection>tag: Vec<String>content: StringTrait 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 PostInfo
impl UnwindSafe for PostInfo
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