pub struct Installation {
pub id: u64,
pub account: InstallationAccount,
pub repository_selection: RepositorySelection,
pub repositories: Vec<OwnerRepo>,
pub permissions: Vec<(String, String)>,
}Expand description
One installation of the published App, and what it can actually reach.
Fields§
§id: u64§account: InstallationAccount§repository_selection: RepositorySelection§repositories: Vec<OwnerRepo>§permissions: Vec<(String, String)>The permissions GitHub reports for this installation, as
name -> level. Surfaced verbatim so auth status can show a grant the
user did not expect rather than assert the published set was applied.
Implementations§
Source§impl Installation
impl Installation
pub fn is_over_broad(&self) -> bool
Trait Implementations§
Source§impl Clone for Installation
impl Clone for Installation
Source§fn clone(&self) -> Installation
fn clone(&self) -> Installation
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 Installation
impl Debug for Installation
impl Eq for Installation
Source§impl PartialEq for Installation
impl PartialEq 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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.