pub struct DocumentStats {
pub view_count: u64,
pub edit_count: u64,
pub comment_count: u64,
pub share_count: u64,
pub download_count: u64,
pub last_stats_time: DateTime<Utc>,
}Expand description
文档统计信息
Fields§
§view_count: u64浏览次数
edit_count: u64编辑次数
comment_count: u64评论数量
分享次数
download_count: u64下载次数
last_stats_time: DateTime<Utc>最后统计时间
Trait Implementations§
Source§impl Clone for DocumentStats
impl Clone for DocumentStats
Source§fn clone(&self) -> DocumentStats
fn clone(&self) -> DocumentStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocumentStats
impl Debug for DocumentStats
Source§impl<'de> Deserialize<'de> for DocumentStats
impl<'de> Deserialize<'de> for DocumentStats
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 PartialEq for DocumentStats
impl PartialEq for DocumentStats
Source§fn eq(&self, other: &DocumentStats) -> bool
fn eq(&self, other: &DocumentStats) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DocumentStats
impl Serialize for DocumentStats
impl StructuralPartialEq for DocumentStats
Auto Trait Implementations§
impl Freeze for DocumentStats
impl RefUnwindSafe for DocumentStats
impl Send for DocumentStats
impl Sync for DocumentStats
impl Unpin for DocumentStats
impl UnsafeUnpin for DocumentStats
impl UnwindSafe for DocumentStats
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