Struct octorust::types::TeamDiscussion [−][src]
pub struct TeamDiscussion {Show 18 fields
pub author: Option<SimpleUser>,
pub body: String,
pub body_html: String,
pub body_version: String,
pub comments_count: i64,
pub comments_url: Option<Url>,
pub created_at: Option<DateTime<Utc>>,
pub html_url: Option<Url>,
pub last_edited_at: Option<DateTime<Utc>>,
pub node_id: String,
pub number: i64,
pub pinned: bool,
pub private: bool,
pub reactions: Option<ReactionRollup>,
pub team_url: Option<Url>,
pub title: String,
pub updated_at: Option<DateTime<Utc>>,
pub url: Option<Url>,
}
Expand description
A team discussion is a persistent record of a free-form conversation within a team.
Fields
body: String
body_html: String
body_version: String
comments_count: i64
comments_url: Option<Url>
created_at: Option<DateTime<Utc>>
html_url: Option<Url>
last_edited_at: Option<DateTime<Utc>>
node_id: String
number: i64
pinned: bool
private: bool
reactions: Option<ReactionRollup>
A team discussion is a persistent record of a free-form conversation within a team.
team_url: Option<Url>
title: String
updated_at: Option<DateTime<Utc>>
url: Option<Url>
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TeamDiscussion
impl Send for TeamDiscussion
impl Sync for TeamDiscussion
impl Unpin for TeamDiscussion
impl UnwindSafe for TeamDiscussion
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more