pub struct GithubInstallationsOut {
pub install_url: Option<String>,
pub installations: Option<Vec<GithubInstallationView>>,
}Fields§
§install_url: Option<String>InstallURL is where to grant a new account, so a UI with an empty list has somewhere to send the reader instead of a dead end.
installations: Option<Vec<GithubInstallationView>>Installations is every account the caller may see: the ones its own org has bound, or — for a super admin — every account the App is installed on. Never null; [] when none.
Implementations§
Source§impl GithubInstallationsOut
impl GithubInstallationsOut
pub fn new() -> GithubInstallationsOut
Trait Implementations§
Source§impl Clone for GithubInstallationsOut
impl Clone for GithubInstallationsOut
Source§fn clone(&self) -> GithubInstallationsOut
fn clone(&self) -> GithubInstallationsOut
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 GithubInstallationsOut
impl Debug for GithubInstallationsOut
Source§impl Default for GithubInstallationsOut
impl Default for GithubInstallationsOut
Source§fn default() -> GithubInstallationsOut
fn default() -> GithubInstallationsOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GithubInstallationsOut
impl<'de> Deserialize<'de> for GithubInstallationsOut
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 GithubInstallationsOut
impl PartialEq for GithubInstallationsOut
Source§impl Serialize for GithubInstallationsOut
impl Serialize for GithubInstallationsOut
impl StructuralPartialEq for GithubInstallationsOut
Auto Trait Implementations§
impl Freeze for GithubInstallationsOut
impl RefUnwindSafe for GithubInstallationsOut
impl Send for GithubInstallationsOut
impl Sync for GithubInstallationsOut
impl Unpin for GithubInstallationsOut
impl UnsafeUnpin for GithubInstallationsOut
impl UnwindSafe for GithubInstallationsOut
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