pub struct App {
pub id: u64,
pub slug: String,
pub name: String,
pub owner: User,
pub description: Option<String>,
pub external_url: String,
pub html_url: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
GitHub App metadata.
Represents a GitHub App’s configuration and metadata as returned by
the GitHub API’s /app endpoint.
§Examples
let app = client.get_app().await?;
println!("App: {} (ID: {})", app.name, app.id);
println!("Owner: {}", app.owner.login);Fields§
§id: u64Unique numeric identifier for the GitHub App
slug: StringURL-friendly string identifier for the app
name: StringDisplay name of the GitHub App
owner: UserOwner of the GitHub App (user or organization)
description: Option<String>Description of the app’s purpose
external_url: StringExternal URL for the app (e.g., homepage)
html_url: StringGitHub URL for the app’s page
created_at: DateTime<Utc>When the app was created
updated_at: DateTime<Utc>When the app was last updated
Trait Implementations§
Source§impl<'de> Deserialize<'de> for App
impl<'de> Deserialize<'de> for App
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 App
Auto Trait Implementations§
impl Freeze for App
impl RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl UnsafeUnpin for App
impl UnwindSafe for App
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