Struct octocrab::models::IssueEvent
source · #[non_exhaustive]pub struct IssueEvent {Show 14 fields
pub id: Option<IssueEventId>,
pub node_id: Option<String>,
pub url: Option<String>,
pub actor: Author,
pub assignee: Option<Author>,
pub assignees: Option<Vec<Author>>,
pub assigner: Option<Author>,
pub labels: Option<Vec<Label>>,
pub milestone: Option<Milestone>,
pub project_card: Option<ProjectCard>,
pub event: Option<Event>,
pub commit_id: Option<String>,
pub commit_url: Option<String>,
pub created_at: DateTime<Utc>,
}
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<IssueEventId>
§node_id: Option<String>
§url: Option<String>
§actor: Author
§assignee: Option<Author>
§assignees: Option<Vec<Author>>
§assigner: Option<Author>
§labels: Option<Vec<Label>>
§milestone: Option<Milestone>
§project_card: Option<ProjectCard>
§event: Option<Event>
§commit_id: Option<String>
§commit_url: Option<String>
§created_at: DateTime<Utc>
Trait Implementations§
source§impl Clone for IssueEvent
impl Clone for IssueEvent
source§fn clone(&self) -> IssueEvent
fn clone(&self) -> IssueEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IssueEvent
impl Debug for IssueEvent
source§impl<'de> Deserialize<'de> for IssueEvent
impl<'de> Deserialize<'de> for IssueEvent
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
source§impl Hash for IssueEvent
impl Hash for IssueEvent
source§impl PartialEq for IssueEvent
impl PartialEq for IssueEvent
source§fn eq(&self, other: &IssueEvent) -> bool
fn eq(&self, other: &IssueEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IssueEvent
impl Serialize for IssueEvent
impl Eq for IssueEvent
impl StructuralPartialEq for IssueEvent
Auto Trait Implementations§
impl Freeze for IssueEvent
impl RefUnwindSafe for IssueEvent
impl Send for IssueEvent
impl Sync for IssueEvent
impl Unpin for IssueEvent
impl UnwindSafe for IssueEvent
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