pub struct Draft {
pub draft_id: String,
pub publish_time: u64,
pub type_num: u8,
pub uid: u64,
pub user_profile: UserProfile,
pub request: String,
}Expand description
获取草稿列表中的单项
Fields§
§draft_id: String草稿id
publish_time: u64定时发送的秒级时间戳
type_num: u8动态类型
uid: u64自己的mid
user_profile: UserProfile自己的用户信息
request: String动态内容
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Draft
impl<'de> Deserialize<'de> for Draft
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 Draft
impl RefUnwindSafe for Draft
impl Send for Draft
impl Sync for Draft
impl Unpin for Draft
impl UnwindSafe for Draft
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