pub struct EventPayload {
pub action: Option<String>,
pub issue: Option<Box<Issue>>,
pub comment: Option<Box<IssueComment>>,
pub pages: Option<Vec<EventPayloadPagesInner>>,
}
Fields§
§action: Option<String>
§issue: Option<Box<Issue>>
§comment: Option<Box<IssueComment>>
§pages: Option<Vec<EventPayloadPagesInner>>
Implementations§
Source§impl EventPayload
impl EventPayload
pub fn new() -> EventPayload
Trait Implementations§
Source§impl Clone for EventPayload
impl Clone for EventPayload
Source§fn clone(&self) -> EventPayload
fn clone(&self) -> EventPayload
Returns a duplicate 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 EventPayload
impl Debug for EventPayload
Source§impl Default for EventPayload
impl Default for EventPayload
Source§fn default() -> EventPayload
fn default() -> EventPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventPayload
impl<'de> Deserialize<'de> for EventPayload
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 PartialEq for EventPayload
impl PartialEq for EventPayload
Source§impl Serialize for EventPayload
impl Serialize for EventPayload
impl StructuralPartialEq for EventPayload
Auto Trait Implementations§
impl Freeze for EventPayload
impl RefUnwindSafe for EventPayload
impl Send for EventPayload
impl Sync for EventPayload
impl Unpin for EventPayload
impl UnwindSafe for EventPayload
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