pub struct Discussion {Show 16 fields
pub category: DiscussionCategory,
pub answer_html_url: Option<String>,
pub answer_chosen_at: Option<String>,
pub answer_chosen_by: Option<String>,
pub html_url: String,
pub user: User,
pub number: u32,
pub title: String,
pub state: String,
pub locked: bool,
pub comments: u32,
pub created_at: String,
pub updated_at: String,
pub author_association: String,
pub active_lock_reason: Option<String>,
pub body: String,
}Fields§
§category: DiscussionCategory§answer_html_url: Option<String>§answer_chosen_at: Option<String>§answer_chosen_by: Option<String>§html_url: String§user: User§number: u32§title: String§state: String§locked: bool§comments: u32§created_at: String§updated_at: String§active_lock_reason: Option<String>§body: StringTrait Implementations§
Source§impl Debug for Discussion
impl Debug for Discussion
Source§impl<'de> Deserialize<'de> for Discussion
impl<'de> Deserialize<'de> for Discussion
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 Discussion
impl RefUnwindSafe for Discussion
impl Send for Discussion
impl Sync for Discussion
impl Unpin 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