pub struct Discussion {
pub id: u32,
pub title: Box<str>,
pub author: Option<Box<str>>,
pub content: Box<str>,
pub created_at: u64,
pub updated_at: Option<u64>,
pub views: u32,
pub comments: u32,
pub votes: i32,
pub tags: Vec<Box<str>>,
pub pinned: bool,
}Fields§
§id: u32§title: Box<str>§content: Box<str>Public Markdown supplied by LeetCode
created_at: u64§updated_at: Option<u64>§views: u32§comments: u32§votes: i32§pinned: boolTrait Implementations§
Source§impl Debug for Discussion
impl Debug for Discussion
impl Eq for Discussion
Source§impl PartialEq for Discussion
impl PartialEq for Discussion
impl StructuralPartialEq for Discussion
Auto Trait Implementations§
impl Freeze for Discussion
impl RefUnwindSafe for Discussion
impl Send for Discussion
impl Sync for Discussion
impl Unpin for Discussion
impl UnsafeUnpin for Discussion
impl UnwindSafe for Discussion
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