pub struct ArticlePost {
pub title: String,
pub content: String,
pub tags: String,
pub commentable: bool,
pub notify_followers: bool,
pub type_: ArticleType,
pub show_in_list: u32,
pub reward_content: Option<String>,
pub reward_point: Option<String>,
pub anonymous: Option<bool>,
pub offer_point: Option<u32>,
pub is_good_article: Option<String>,
}Expand description
发帖信息。
Fields§
§title: String§content: String§commentable: bool§notify_followers: bool§type_: ArticleType§show_in_list: u32§reward_content: Option<String>§reward_point: Option<String>§anonymous: Option<bool>§offer_point: Option<u32>§is_good_article: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ArticlePost
impl Clone for ArticlePost
Source§impl Debug for ArticlePost
impl Debug for ArticlePost
Auto Trait Implementations§
impl Forget for ArticlePost
impl Freeze for ArticlePost
impl Move for ArticlePost
impl RefUnwindSafe for ArticlePost
impl Send for ArticlePost
impl Sync for ArticlePost
impl Unpin for ArticlePost
impl UnsafeUnpin for ArticlePost
impl UnwindSafe for ArticlePost
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