pub struct Integration {Show 17 fields
pub id: i32,
pub slug: Option<String>,
pub node_id: String,
pub owner: Option<Box<NullableSimpleUser>>,
pub name: String,
pub description: Option<String>,
pub external_url: String,
pub html_url: String,
pub created_at: String,
pub updated_at: String,
pub permissions: IntegrationPermissions,
pub events: Vec<String>,
pub installations_count: Option<i32>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub webhook_secret: Option<Option<String>>,
pub pem: Option<String>,
}
Expand description
Integration : GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.
Fields§
§id: i32
Unique identifier of the GitHub app
slug: Option<String>
The slug name of the GitHub app
node_id: String
§owner: Option<Box<NullableSimpleUser>>
§name: String
The name of the GitHub app
description: Option<String>
§external_url: String
§html_url: String
§created_at: String
§updated_at: String
§permissions: IntegrationPermissions
§events: Vec<String>
The list of events for the GitHub app
installations_count: Option<i32>
The number of installations associated with the GitHub app
client_id: Option<String>
§client_secret: Option<String>
§webhook_secret: Option<Option<String>>
§pem: Option<String>
Implementations§
Source§impl Integration
impl Integration
Sourcepub fn new(
id: i32,
node_id: String,
owner: Option<NullableSimpleUser>,
name: String,
description: Option<String>,
external_url: String,
html_url: String,
created_at: String,
updated_at: String,
permissions: IntegrationPermissions,
events: Vec<String>,
) -> Integration
pub fn new( id: i32, node_id: String, owner: Option<NullableSimpleUser>, name: String, description: Option<String>, external_url: String, html_url: String, created_at: String, updated_at: String, permissions: IntegrationPermissions, events: Vec<String>, ) -> Integration
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.
Trait Implementations§
Source§impl Clone for Integration
impl Clone for Integration
Source§fn clone(&self) -> Integration
fn clone(&self) -> Integration
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 Integration
impl Debug for Integration
Source§impl Default for Integration
impl Default for Integration
Source§fn default() -> Integration
fn default() -> Integration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Integration
impl<'de> Deserialize<'de> for Integration
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 Integration
impl PartialEq for Integration
Source§impl Serialize for Integration
impl Serialize for Integration
impl StructuralPartialEq for Integration
Auto Trait Implementations§
impl Freeze for Integration
impl RefUnwindSafe for Integration
impl Send for Integration
impl Sync for Integration
impl Unpin for Integration
impl UnwindSafe for Integration
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