pub struct WireArticleComment {Show 29 fields
pub is_nice: bool,
pub create_time_str: String,
pub author_id: String,
pub score: u64,
pub create_time: String,
pub author_url: String,
pub vote: Option<i64>,
pub revision_count: u64,
pub time_ago: String,
pub reply_id: String,
pub sys_metal: Vec<WireMetal>,
pub good_count: u64,
pub visible: bool,
pub article_id: String,
pub rewarded_count: u64,
pub sharp_url: String,
pub is_anonymous: bool,
pub reply_count: u64,
pub o_id: String,
pub content: String,
pub status: u64,
pub commenter: WireArticleAuthor,
pub author: String,
pub thank_count: u64,
pub bad_count: u64,
pub rewarded: bool,
pub thumbnail_url: String,
pub audio_url: String,
pub offered: u64,
}Expand description
文章评论。
Fields§
§is_nice: bool§create_time_str: String§score: u64§create_time: String§vote: Option<i64>§revision_count: u64§time_ago: String§reply_id: String§sys_metal: Vec<WireMetal>§good_count: u64§visible: bool§article_id: String§rewarded_count: u64§sharp_url: String§is_anonymous: bool§reply_count: u64§o_id: String§content: String§status: u64§commenter: WireArticleAuthor§thank_count: u64§bad_count: u64§rewarded: bool§thumbnail_url: String§audio_url: String§offered: u64Trait Implementations§
Source§impl Clone for WireArticleComment
impl Clone for WireArticleComment
Source§impl Debug for WireArticleComment
impl Debug for WireArticleComment
Source§impl Default for WireArticleComment
impl Default for WireArticleComment
Source§impl<'de> Deserialize<'de> for WireArticleCommentwhere
WireArticleComment: Default,
impl<'de> Deserialize<'de> for WireArticleCommentwhere
WireArticleComment: Default,
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
Source§impl From<WireArticleComment> for ArticleComment
impl From<WireArticleComment> for ArticleComment
Source§fn from(w: WireArticleComment) -> Self
fn from(w: WireArticleComment) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for WireArticleComment
impl Freeze for WireArticleComment
impl Move for WireArticleComment
impl RefUnwindSafe for WireArticleComment
impl Send for WireArticleComment
impl Sync for WireArticleComment
impl Unpin for WireArticleComment
impl UnsafeUnpin for WireArticleComment
impl UnwindSafe for WireArticleComment
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