pub struct NullableIntegration {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
NullableIntegration : 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 NullableIntegration
impl NullableIntegration
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>,
) -> NullableIntegration
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>, ) -> NullableIntegration
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 NullableIntegration
impl Clone for NullableIntegration
Source§fn clone(&self) -> NullableIntegration
fn clone(&self) -> NullableIntegration
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 NullableIntegration
impl Debug for NullableIntegration
Source§impl Default for NullableIntegration
impl Default for NullableIntegration
Source§fn default() -> NullableIntegration
fn default() -> NullableIntegration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NullableIntegration
impl<'de> Deserialize<'de> for NullableIntegration
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 NullableIntegration
impl PartialEq for NullableIntegration
Source§impl Serialize for NullableIntegration
impl Serialize for NullableIntegration
impl StructuralPartialEq for NullableIntegration
Auto Trait Implementations§
impl Freeze for NullableIntegration
impl RefUnwindSafe for NullableIntegration
impl Send for NullableIntegration
impl Sync for NullableIntegration
impl Unpin for NullableIntegration
impl UnwindSafe for NullableIntegration
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