pub enum EventKind {
Opened,
Closed,
Reopened,
Merged,
Labeled {
added: Vec<String>,
removed: Vec<String>,
},
Assigned {
added: Vec<String>,
removed: Vec<String>,
},
Renamed {
from: String,
to: String,
},
CommitsPushed {
count: u32,
head: Option<String>,
},
CrossReferenced {
from: String,
url: Option<String>,
},
StatusChanged {
from: String,
to: String,
},
ReviewRequested {
who: String,
},
Other {
text: String,
},
}Variants§
Opened
Closed
Reopened
Merged
Labeled
Assigned
Renamed
CommitsPushed
CrossReferenced
StatusChanged
ReviewRequested
Other
Anything else, with the host’s own wording.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventKind
impl<'de> Deserialize<'de> for EventKind
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
impl Eq for EventKind
impl StructuralPartialEq for EventKind
Auto Trait Implementations§
impl Forget for EventKind
impl Freeze for EventKind
impl Move for EventKind
impl RefUnwindSafe for EventKind
impl Send for EventKindwhere
RawVecInner: Send,
impl Sync for EventKindwhere
RawVecInner: Sync,
impl Unpin for EventKind
impl UnsafeUnpin for EventKindwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for EventKindwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.