pub struct Installation {Show 14 fields
pub id: u64,
pub account: User,
pub repository_selection: String,
pub access_tokens_url: String,
pub repositories_url: String,
pub html_url: String,
pub app_id: u64,
pub target_id: u64,
pub target_type: String,
pub permissions: InstallationPermissions,
pub events: Vec<EventType>,
pub created_at: DateTime,
pub updated_at: DateTime,
pub single_file_name: Option<String>,
}
Expand description
Information about an app installation.
Fields§
§id: u64
§account: User
§repository_selection: String
§access_tokens_url: String
§repositories_url: String
§html_url: String
§app_id: u64
§target_id: u64
§target_type: String
§permissions: InstallationPermissions
§events: Vec<EventType>
§created_at: DateTime
§updated_at: DateTime
§single_file_name: Option<String>
Trait Implementations§
Source§impl Clone for Installation
impl Clone for Installation
Source§fn clone(&self) -> Installation
fn clone(&self) -> Installation
Returns a copy 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 Installation
impl Debug for Installation
Source§impl<'de> Deserialize<'de> for Installation
impl<'de> Deserialize<'de> for Installation
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 Hash for Installation
impl Hash for Installation
Source§impl Ord for Installation
impl Ord for Installation
Source§fn cmp(&self, other: &Installation) -> Ordering
fn cmp(&self, other: &Installation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Installation
impl PartialEq for Installation
Source§impl PartialOrd for Installation
impl PartialOrd for Installation
impl Eq for Installation
impl StructuralPartialEq for Installation
Auto Trait Implementations§
impl Freeze for Installation
impl RefUnwindSafe for Installation
impl Send for Installation
impl Sync for Installation
impl Unpin for Installation
impl UnwindSafe for Installation
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