pub struct GitHubApp {Show 17 fields
pub client_id: String,
pub client_secret: String,
pub created_at: Option<DateTime<Utc>>,
pub description: String,
pub events: Vec<String>,
pub external_url: String,
pub html_url: String,
pub id: i64,
pub installations_count: i64,
pub name: String,
pub node_id: String,
pub owner: Option<SimpleUser>,
pub pem: String,
pub permissions: Permissions,
pub slug: String,
pub updated_at: Option<DateTime<Utc>>,
pub webhook_secret: String,
}
Expand description
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§
§client_id: String
§client_secret: String
§created_at: Option<DateTime<Utc>>
§description: String
§events: Vec<String>
The list of events for the GitHub app
external_url: String
§html_url: String
§id: i64
§installations_count: i64
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.
name: String
§node_id: String
§owner: Option<SimpleUser>
§pem: String
§permissions: Permissions
The set of permissions for the GitHub app
slug: String
§updated_at: Option<DateTime<Utc>>
§webhook_secret: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for GitHubApp
impl<'de> Deserialize<'de> for GitHubApp
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 JsonSchema for GitHubApp
impl JsonSchema for GitHubApp
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<GitHubApp> for GitHubApp
impl PartialEq<GitHubApp> for GitHubApp
impl StructuralPartialEq for GitHubApp
Auto Trait Implementations§
impl RefUnwindSafe for GitHubApp
impl Send for GitHubApp
impl Sync for GitHubApp
impl Unpin for GitHubApp
impl UnwindSafe for GitHubApp
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