pub struct PrivateNoteItem {
pub title: String,
pub summary: String,
pub mtime: String,
pub arc: PrivateNoteArc,
pub note_id: u64,
pub audit_status: u8,
pub web_url: String,
pub note_id_str: String,
pub message: String,
pub forbid_note_entrance: Option<bool>,
pub likes: u64,
pub has_like: bool,
}
Expand description
用户私有笔记列表项
Fields§
§title: String
§summary: String
§mtime: String
§arc: PrivateNoteArc
§note_id: u64
§audit_status: u8
§web_url: String
§note_id_str: String
§message: String
§forbid_note_entrance: Option<bool>
§likes: u64
§has_like: bool
Trait Implementations§
Source§impl Clone for PrivateNoteItem
impl Clone for PrivateNoteItem
Source§fn clone(&self) -> PrivateNoteItem
fn clone(&self) -> PrivateNoteItem
Returns a duplicate of the value. Read more
1.0.0 · 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 PrivateNoteItem
impl Debug for PrivateNoteItem
Source§impl<'de> Deserialize<'de> for PrivateNoteItem
impl<'de> Deserialize<'de> for PrivateNoteItem
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
Auto Trait Implementations§
impl Freeze for PrivateNoteItem
impl RefUnwindSafe for PrivateNoteItem
impl Send for PrivateNoteItem
impl Sync for PrivateNoteItem
impl Unpin for PrivateNoteItem
impl UnwindSafe for PrivateNoteItem
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