pub struct GollumEvent {
pub pages: Vec<PageEvent>,
pub repository: Repository,
pub sender: User,
pub installation: Option<InstallationId>,
}Fields§
§pages: Vec<PageEvent>The pages that were created or edited.
repository: RepositoryThe repository for which the action took place.
sender: UserThe user who triggered the event.
installation: Option<InstallationId>The App installation ID. This is only present for GitHub App events.
Trait Implementations§
Source§impl AppEvent for GollumEvent
impl AppEvent for GollumEvent
Source§fn installation(&self) -> Option<u64>
fn installation(&self) -> Option<u64>
Returns the installation ID for the event.
Source§impl Clone for GollumEvent
impl Clone for GollumEvent
Source§fn clone(&self) -> GollumEvent
fn clone(&self) -> GollumEvent
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 GollumEvent
impl Debug for GollumEvent
Source§impl<'de> Deserialize<'de> for GollumEvent
impl<'de> Deserialize<'de> for GollumEvent
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 From<GollumEvent> for Event
impl From<GollumEvent> for Event
Source§fn from(original: GollumEvent) -> Event
fn from(original: GollumEvent) -> Event
Converts to this type from the input type.
Source§impl Hash for GollumEvent
impl Hash for GollumEvent
Source§impl Ord for GollumEvent
impl Ord for GollumEvent
Source§fn cmp(&self, other: &GollumEvent) -> Ordering
fn cmp(&self, other: &GollumEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GollumEvent
impl PartialEq for GollumEvent
Source§impl PartialOrd for GollumEvent
impl PartialOrd for GollumEvent
impl Eq for GollumEvent
impl StructuralPartialEq for GollumEvent
Auto Trait Implementations§
impl Freeze for GollumEvent
impl RefUnwindSafe for GollumEvent
impl Send for GollumEvent
impl Sync for GollumEvent
impl Unpin for GollumEvent
impl UnwindSafe for GollumEvent
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