pub struct GithubInstallation {
pub account_login: String,
pub account_type: String,
pub created_at: DateTime<Utc>,
pub id: i64,
pub installation_id: i64,
pub updated_at: DateTime<Utc>,
}Expand description
A GitHub App installation the organization has connected. The numeric
installation_id is GitHub’s installation id (used to address
sync/unbind), while id is Harmont’s internal row id.
JSON schema
{
"title": "GithubInstallation",
"description": "A GitHub App installation the organization has
connected. The numeric `installation_id` is GitHub's installation id
(used to address sync/unbind), while `id` is Harmont's internal row
id.",
"type": "object",
"required": [
"account_login",
"account_type",
"created_at",
"id",
"installation_id",
"updated_at"
],
"properties": {
"account_login": {
"description": "The GitHub account (org or user) the App is
installed on.",
"type": "string"
},
"account_type": {
"description": "`Organization` or `User`.",
"type": "string"
},
"created_at": {
"description": "When the installation row was first mirrored.",
"type": "string",
"format": "date-time"
},
"id": {
"description": "Harmont's internal installation row id.",
"type": "integer"
},
"installation_id": {
"description": "GitHub's numeric installation id.",
"type": "integer"
},
"updated_at": {
"description": "When the installation row was last updated.",
"type": "string",
"format": "date-time"
}
}
}Fields§
§account_login: StringThe GitHub account (org or user) the App is installed on.
account_type: StringOrganization or User.
created_at: DateTime<Utc>When the installation row was first mirrored.
id: i64Harmont’s internal installation row id.
installation_id: i64GitHub’s numeric installation id.
updated_at: DateTime<Utc>When the installation row was last updated.
Trait Implementations§
Source§impl Clone for GithubInstallation
impl Clone for GithubInstallation
Source§fn clone(&self) -> GithubInstallation
fn clone(&self) -> GithubInstallation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GithubInstallation
impl Debug for GithubInstallation
Source§impl<'de> Deserialize<'de> for GithubInstallation
impl<'de> Deserialize<'de> for GithubInstallation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GithubInstallation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GithubInstallation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GithubInstallation
impl Serialize for GithubInstallation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for GithubInstallation
impl RefUnwindSafe for GithubInstallation
impl Send for GithubInstallation
impl Sync for GithubInstallation
impl Unpin for GithubInstallation
impl UnsafeUnpin for GithubInstallation
impl UnwindSafe for GithubInstallation
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