pub struct GitHubApp(/* private fields */);Expand description
Represents the various GitHub Applications that can be installed to a GitHub user or organization and used with Developer Connect.
Implementations§
Source§impl GitHubApp
impl GitHubApp
Sourcepub const GIT_HUB_APP_UNSPECIFIED: GitHubApp
pub const GIT_HUB_APP_UNSPECIFIED: GitHubApp
GitHub App not specified.
Sourcepub const DEVELOPER_CONNECT: GitHubApp
pub const DEVELOPER_CONNECT: GitHubApp
The Developer Connect GitHub Application.
Sourcepub fn as_str_name(&self) -> Cow<'static, str>
pub fn as_str_name(&self) -> Cow<'static, str>
Gets the enum value as a string.
Sourcepub fn from_str_name(name: &str) -> Option<Self>
pub fn from_str_name(name: &str) -> Option<Self>
Creates an enum value from the value name.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GitHubApp
impl<'de> Deserialize<'de> for GitHubApp
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
impl StructuralPartialEq for GitHubApp
Auto Trait Implementations§
impl Freeze for GitHubApp
impl RefUnwindSafe for GitHubApp
impl Send for GitHubApp
impl Sync for GitHubApp
impl Unpin for GitHubApp
impl UnwindSafe for GitHubApp
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