pub struct IssueEvent {
pub event: String,
pub actor: Option<Actor>,
pub author: Option<Author>,
pub created_at: Option<String>,
pub body: Option<String>,
}
Expand description
A struct representing a GitHub issue event. https://docs.github.com/en/rest/reference/issues#list-issue-events https://docs.github.com/en/rest/reference/issues#events
Fields§
§event: String
The event type.
actor: Option<Actor>
The actor of the event.
The author of the event.
created_at: Option<String>
The time the event was created.
body: Option<String>
The body of the event.
Trait Implementations§
Source§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
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