pub struct TopicPostDTO {Show 15 fields
pub id: String,
pub topic_id: String,
pub post_number: u64,
pub reply_to_post_number: Option<u64>,
pub deleted: bool,
pub children: Vec<TopicPostDTO>,
pub current_revision: u64,
pub like_count: u64,
pub pinned: bool,
pub cooked_html: String,
pub author: TopicAuthorDTO,
pub created_at: String,
pub edited_at: Option<String>,
pub viewer_capabilities: PostViewerCapabilitiesDTO,
pub viewer_state: PostViewerStateDTO,
}Fields§
§id: String§topic_id: String§post_number: u64§reply_to_post_number: Option<u64>§deleted: bool§children: Vec<TopicPostDTO>§current_revision: u64§like_count: u64§pinned: bool§cooked_html: String§created_at: String§edited_at: Option<String>§viewer_capabilities: PostViewerCapabilitiesDTO§viewer_state: PostViewerStateDTOTrait Implementations§
Source§impl Clone for TopicPostDTO
impl Clone for TopicPostDTO
Source§impl Debug for TopicPostDTO
impl Debug for TopicPostDTO
Source§impl<'de> Deserialize<'de> for TopicPostDTO
impl<'de> Deserialize<'de> for TopicPostDTO
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 TopicPostDTO
impl RefUnwindSafe for TopicPostDTO
impl Send for TopicPostDTO
impl Sync for TopicPostDTO
impl Unpin for TopicPostDTO
impl UnsafeUnpin for TopicPostDTO
impl UnwindSafe for TopicPostDTO
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