Struct octx::events::IssueEvent [−][src]
#[non_exhaustive]pub struct IssueEvent {Show 16 fields
pub id: Option<i64>,
pub node_id: Option<String>,
pub url: Option<String>,
pub actor: Option<User>,
pub assignee: Option<User>,
pub assigner: Option<User>,
pub review_requester: Option<User>,
pub requested_reviewer: Option<User>,
pub label: Option<Label>,
pub milestone: Option<MilestonePartial>,
pub project_card: Option<ProjectCard>,
pub event: Option<String>,
pub commit_id: Option<String>,
pub commit_url: Option<Url>,
pub created_at: DateTime<Utc>,
pub issue: Issue,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<i64>
node_id: Option<String>
url: Option<String>
actor: Option<User>
assignee: Option<User>
assigner: Option<User>
review_requester: Option<User>
requested_reviewer: Option<User>
label: Option<Label>
milestone: Option<MilestonePartial>
project_card: Option<ProjectCard>
event: Option<String>
commit_id: Option<String>
commit_url: Option<Url>
created_at: DateTime<Utc>
issue: Issue
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
Performs the conversion.
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 IssueEvent
impl Send for IssueEvent
impl Sync for IssueEvent
impl Unpin for IssueEvent
impl UnwindSafe for IssueEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more