pub struct PublicNoteInfoData {
pub cvid: u64,
pub note_id: u64,
pub title: String,
pub summary: String,
pub content: String,
pub cid_count: u32,
pub pub_status: u8,
pub tags: Vec<PrivateNoteTag>,
pub arc: PublicNoteArc,
pub author: PublicNoteAuthor,
pub forbid_note_entrance: bool,
}
Expand description
公开笔记的响应数据
Fields§
§cvid: u64
§note_id: u64
§title: String
§summary: String
§content: String
§cid_count: u32
§pub_status: u8
§arc: PublicNoteArc
§forbid_note_entrance: bool
Trait Implementations§
Source§impl Clone for PublicNoteInfoData
impl Clone for PublicNoteInfoData
Source§fn clone(&self) -> PublicNoteInfoData
fn clone(&self) -> PublicNoteInfoData
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 PublicNoteInfoData
impl Debug for PublicNoteInfoData
Source§impl<'de> Deserialize<'de> for PublicNoteInfoData
impl<'de> Deserialize<'de> for PublicNoteInfoData
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 PublicNoteInfoData
impl RefUnwindSafe for PublicNoteInfoData
impl Send for PublicNoteInfoData
impl Sync for PublicNoteInfoData
impl Unpin for PublicNoteInfoData
impl UnwindSafe for PublicNoteInfoData
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