pub struct App2 {
pub created_at: Option<String>,
pub description: Option<String>,
pub events: Option<Vec<Events>>,
pub external_url: Option<String>,
pub html_url: String,
pub id: Option<i32>,
pub name: String,
pub node_id: String,
pub owner: Option<Box<User>>,
pub permissions: Option<Box<App2Permissions>>,
pub slug: Option<String>,
pub updated_at: Option<String>,
}
Expand description
App2 : 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§
§created_at: Option<String>
§description: Option<String>
§events: Option<Vec<Events>>
The list of events for the GitHub app
external_url: Option<String>
§html_url: String
§id: Option<i32>
Unique identifier of the GitHub app
name: String
The name of the GitHub app
node_id: String
§owner: Option<Box<User>>
§permissions: Option<Box<App2Permissions>>
§slug: Option<String>
The slug name of the GitHub app
updated_at: Option<String>
Implementations§
Source§impl App2
impl App2
Sourcepub fn new(
created_at: Option<String>,
description: Option<String>,
external_url: Option<String>,
html_url: String,
id: Option<i32>,
name: String,
node_id: String,
owner: Option<User>,
updated_at: Option<String>,
) -> App2
pub fn new( created_at: Option<String>, description: Option<String>, external_url: Option<String>, html_url: String, id: Option<i32>, name: String, node_id: String, owner: Option<User>, updated_at: Option<String>, ) -> App2
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<'de> Deserialize<'de> for App2
impl<'de> Deserialize<'de> for App2
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
impl StructuralPartialEq for App2
Auto Trait Implementations§
impl Freeze for App2
impl RefUnwindSafe for App2
impl Send for App2
impl Sync for App2
impl Unpin for App2
impl UnwindSafe for App2
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