pub struct GithubInstallationView {
pub connected: Option<bool>,
pub grant: Option<String>,
pub html_url: Option<String>,
pub login: Option<String>,
pub type: Option<String>,
}Fields§
§connected: Option<bool>Connected reports whether THIS org has already bound this account.
grant: Option<String>Grant is "all" or "selected" — how many of the account’s repositories the install covers. A reader deciding what to import needs the reach, not just the name.
html_url: Option<String>HTMLURL is the account’s page on GitHub.
login: Option<String>Login is the GitHub account name — the org or user the App is installed on.
type: Option<String>Type is "Organization" or "User".
Implementations§
Source§impl GithubInstallationView
impl GithubInstallationView
pub fn new() -> GithubInstallationView
Trait Implementations§
Source§impl Clone for GithubInstallationView
impl Clone for GithubInstallationView
Source§fn clone(&self) -> GithubInstallationView
fn clone(&self) -> GithubInstallationView
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 GithubInstallationView
impl Debug for GithubInstallationView
Source§impl Default for GithubInstallationView
impl Default for GithubInstallationView
Source§fn default() -> GithubInstallationView
fn default() -> GithubInstallationView
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubInstallationView
impl<'de> Deserialize<'de> for GithubInstallationView
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 PartialEq for GithubInstallationView
impl PartialEq for GithubInstallationView
Source§impl Serialize for GithubInstallationView
impl Serialize for GithubInstallationView
impl StructuralPartialEq for GithubInstallationView
Auto Trait Implementations§
impl Freeze for GithubInstallationView
impl RefUnwindSafe for GithubInstallationView
impl Send for GithubInstallationView
impl Sync for GithubInstallationView
impl Unpin for GithubInstallationView
impl UnsafeUnpin for GithubInstallationView
impl UnwindSafe for GithubInstallationView
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