Struct octocrab::models::Installation [−][src]
#[non_exhaustive]pub struct Installation { pub id: InstallationId, pub account: User, pub access_tokens_url: Option<String>, pub repositories_url: Option<String>, pub html_url: Option<String>, pub app_id: Option<AppId>, pub target_id: Option<UserOrOrgId>, pub target_type: Option<String>, pub permissions: InstallationPermissions, pub events: Vec<String>, pub single_file_name: Option<String>, pub repository_selection: Option<String>, }
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: InstallationId
account: User
access_tokens_url: Option<String>
repositories_url: Option<String>
html_url: Option<String>
app_id: Option<AppId>
target_id: Option<UserOrOrgId>
target_type: Option<String>
permissions: InstallationPermissions
events: Vec<String>
single_file_name: Option<String>
repository_selection: Option<String>
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Installation
impl Send for Installation
impl Sync for Installation
impl Unpin for Installation
impl UnwindSafe for Installation
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more