pub enum InstallationSuspendInstallationPermissionsOrganizationHooks {
Read,
Write,
}
Expand description
The level of permission granted to the access token to manage the post-receive hooks for an organization.
JSON schema
{
"description": "The level of permission granted to the access token to manage the post-receive hooks for an organization.",
"type": "string",
"enum": [
"read",
"write"
]
}
Variants§
Trait Implementations§
Source§impl Clone for InstallationSuspendInstallationPermissionsOrganizationHooks
impl Clone for InstallationSuspendInstallationPermissionsOrganizationHooks
Source§fn clone(&self) -> InstallationSuspendInstallationPermissionsOrganizationHooks
fn clone(&self) -> InstallationSuspendInstallationPermissionsOrganizationHooks
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for InstallationSuspendInstallationPermissionsOrganizationHooks
impl<'de> Deserialize<'de> for InstallationSuspendInstallationPermissionsOrganizationHooks
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 From<&InstallationSuspendInstallationPermissionsOrganizationHooks> for InstallationSuspendInstallationPermissionsOrganizationHooks
impl From<&InstallationSuspendInstallationPermissionsOrganizationHooks> for InstallationSuspendInstallationPermissionsOrganizationHooks
Source§fn from(
value: &InstallationSuspendInstallationPermissionsOrganizationHooks,
) -> Self
fn from( value: &InstallationSuspendInstallationPermissionsOrganizationHooks, ) -> Self
Converts to this type from the input type.
Source§impl Ord for InstallationSuspendInstallationPermissionsOrganizationHooks
impl Ord for InstallationSuspendInstallationPermissionsOrganizationHooks
Source§fn cmp(
&self,
other: &InstallationSuspendInstallationPermissionsOrganizationHooks,
) -> Ordering
fn cmp( &self, other: &InstallationSuspendInstallationPermissionsOrganizationHooks, ) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InstallationSuspendInstallationPermissionsOrganizationHooks
impl PartialEq for InstallationSuspendInstallationPermissionsOrganizationHooks
Source§fn eq(
&self,
other: &InstallationSuspendInstallationPermissionsOrganizationHooks,
) -> bool
fn eq( &self, other: &InstallationSuspendInstallationPermissionsOrganizationHooks, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for InstallationSuspendInstallationPermissionsOrganizationHooks
impl PartialOrd for InstallationSuspendInstallationPermissionsOrganizationHooks
impl Copy for InstallationSuspendInstallationPermissionsOrganizationHooks
impl Eq for InstallationSuspendInstallationPermissionsOrganizationHooks
impl StructuralPartialEq for InstallationSuspendInstallationPermissionsOrganizationHooks
Auto Trait Implementations§
impl Freeze for InstallationSuspendInstallationPermissionsOrganizationHooks
impl RefUnwindSafe for InstallationSuspendInstallationPermissionsOrganizationHooks
impl Send for InstallationSuspendInstallationPermissionsOrganizationHooks
impl Sync for InstallationSuspendInstallationPermissionsOrganizationHooks
impl Unpin for InstallationSuspendInstallationPermissionsOrganizationHooks
impl UnwindSafe for InstallationSuspendInstallationPermissionsOrganizationHooks
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