pub struct InstallationRepositoriesEvent {
pub action: InstallationRepositoriesAction,
pub installation: Installation,
pub repository_selection: String,
pub repositories_added: Vec<ShortRepo>,
pub repositories_removed: Vec<ShortRepo>,
pub sender: User,
}
Fields§
§action: InstallationRepositoriesAction
§installation: Installation
§repository_selection: String
§repositories_added: Vec<ShortRepo>
§repositories_removed: Vec<ShortRepo>
§sender: User
Trait Implementations§
Source§impl AppEvent for InstallationRepositoriesEvent
impl AppEvent for InstallationRepositoriesEvent
Source§fn installation(&self) -> Option<u64>
fn installation(&self) -> Option<u64>
Returns the installation ID for the event.
Source§impl Clone for InstallationRepositoriesEvent
impl Clone for InstallationRepositoriesEvent
Source§fn clone(&self) -> InstallationRepositoriesEvent
fn clone(&self) -> InstallationRepositoriesEvent
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<'de> Deserialize<'de> for InstallationRepositoriesEvent
impl<'de> Deserialize<'de> for InstallationRepositoriesEvent
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<InstallationRepositoriesEvent> for Event
impl From<InstallationRepositoriesEvent> for Event
Source§fn from(original: InstallationRepositoriesEvent) -> Event
fn from(original: InstallationRepositoriesEvent) -> Event
Converts to this type from the input type.
Source§impl Hash for InstallationRepositoriesEvent
impl Hash for InstallationRepositoriesEvent
Source§impl Ord for InstallationRepositoriesEvent
impl Ord for InstallationRepositoriesEvent
Source§fn cmp(&self, other: &InstallationRepositoriesEvent) -> Ordering
fn cmp(&self, other: &InstallationRepositoriesEvent) -> 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 InstallationRepositoriesEvent
impl PartialEq for InstallationRepositoriesEvent
Source§fn eq(&self, other: &InstallationRepositoriesEvent) -> bool
fn eq(&self, other: &InstallationRepositoriesEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for InstallationRepositoriesEvent
impl PartialOrd for InstallationRepositoriesEvent
impl Eq for InstallationRepositoriesEvent
impl StructuralPartialEq for InstallationRepositoriesEvent
Auto Trait Implementations§
impl Freeze for InstallationRepositoriesEvent
impl RefUnwindSafe for InstallationRepositoriesEvent
impl Send for InstallationRepositoriesEvent
impl Sync for InstallationRepositoriesEvent
impl Unpin for InstallationRepositoriesEvent
impl UnwindSafe for InstallationRepositoriesEvent
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