pub struct CreateReplyDTO {
pub topic_id: String,
pub markdown: String,
pub reply_to_post_number: Option<u64>,
}Expand description
发布回帖(POST /api/v1/posts)。reply_to_post_number 用于楼中楼。
Fields§
§topic_id: String§markdown: String§reply_to_post_number: Option<u64>Trait Implementations§
Source§impl Clone for CreateReplyDTO
impl Clone for CreateReplyDTO
Source§impl Debug for CreateReplyDTO
impl Debug for CreateReplyDTO
Source§impl<'de> Deserialize<'de> for CreateReplyDTO
impl<'de> Deserialize<'de> for CreateReplyDTO
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 CreateReplyDTO
impl RefUnwindSafe for CreateReplyDTO
impl Send for CreateReplyDTO
impl Sync for CreateReplyDTO
impl Unpin for CreateReplyDTO
impl UnsafeUnpin for CreateReplyDTO
impl UnwindSafe for CreateReplyDTO
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