Enum GitHubApp (0.5.0)

Represents the various GitHub Applications that can be installed to a GitHub user or organization and used with Developer Connect.

Working with unknown values

This enum is defined as #[non_exhaustive] because Google Cloud may add additional enum variants at any time. Adding new variants is not considered a breaking change. Applications should write their code in anticipation of:

  • New values appearing in future releases of the client library, and
  • New values received dynamically, without application changes.

Please consult the Working with enums section in the user guide for some guidelines.

Enum Variants

Name Description
Unspecified

GitHub App not specified.

DeveloperConnect

The Developer Connect GitHub Application.

Firebase

The Firebase GitHub Application.

UnknownValue

If set, the enum was initialized with an unknown value.

Applications can examine the value using [GitHubApp::value] or [GitHubApp::name].

Implementations

Name Description
value
 fn value(self: &Self) -> std::option::Option<i32>

Gets the enum value.

Returns None if the enum contains an unknown value deserialized from the string representation of enums.

name
 fn name(self: &Self) -> std::option::Option<&str>

Gets the enum value as a string.

Returns None if the enum contains an unknown value deserialized from the integer representation of enums.