pub struct SimpleInstallation {
pub id: i32,
pub node_id: String,
}
Expand description
SimpleInstallation : The GitHub App installation. Webhook payloads contain the installation
property when the event is configured for and sent to a GitHub App. For more information, see "Using webhooks with GitHub Apps."
Fields§
§id: i32
The ID of the installation.
node_id: String
The global node ID of the installation.
Implementations§
Source§impl SimpleInstallation
impl SimpleInstallation
Sourcepub fn new(id: i32, node_id: String) -> SimpleInstallation
pub fn new(id: i32, node_id: String) -> SimpleInstallation
The GitHub App installation. Webhook payloads contain the installation
property when the event is configured for and sent to a GitHub App. For more information, see "Using webhooks with GitHub Apps."
Trait Implementations§
Source§impl Clone for SimpleInstallation
impl Clone for SimpleInstallation
Source§fn clone(&self) -> SimpleInstallation
fn clone(&self) -> SimpleInstallation
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 SimpleInstallation
impl Debug for SimpleInstallation
Source§impl Default for SimpleInstallation
impl Default for SimpleInstallation
Source§fn default() -> SimpleInstallation
fn default() -> SimpleInstallation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SimpleInstallation
impl<'de> Deserialize<'de> for SimpleInstallation
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 SimpleInstallation
impl PartialEq for SimpleInstallation
Source§impl Serialize for SimpleInstallation
impl Serialize for SimpleInstallation
impl StructuralPartialEq for SimpleInstallation
Auto Trait Implementations§
impl Freeze for SimpleInstallation
impl RefUnwindSafe for SimpleInstallation
impl Send for SimpleInstallation
impl Sync for SimpleInstallation
impl Unpin for SimpleInstallation
impl UnwindSafe for SimpleInstallation
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