pub struct CreatePostResponseDTO {
pub submission_id: String,
pub topic_id: String,
pub post_id: String,
pub status: String,
}Expand description
POST /api/v1/posts 的 202 响应(异步审核受理)。
Fields§
§submission_id: String§topic_id: String§post_id: String§status: StringTrait Implementations§
Source§impl Clone for CreatePostResponseDTO
impl Clone for CreatePostResponseDTO
Source§impl Debug for CreatePostResponseDTO
impl Debug for CreatePostResponseDTO
Source§impl<'de> Deserialize<'de> for CreatePostResponseDTO
impl<'de> Deserialize<'de> for CreatePostResponseDTO
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 CreatePostResponseDTO
impl RefUnwindSafe for CreatePostResponseDTO
impl Send for CreatePostResponseDTO
impl Sync for CreatePostResponseDTO
impl Unpin for CreatePostResponseDTO
impl UnsafeUnpin for CreatePostResponseDTO
impl UnwindSafe for CreatePostResponseDTO
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