pub enum InstallationSuspendInstallationPermissionsEnvironments {
Read,
Write,
}
Expand description
The level of permission granted to the access token for managing repository environments.
JSON schema
{
"description": "The level of permission granted to the access token for managing repository environments.",
"type": "string",
"enum": [
"read",
"write"
]
}
Variants§
Trait Implementations§
Source§impl Clone for InstallationSuspendInstallationPermissionsEnvironments
impl Clone for InstallationSuspendInstallationPermissionsEnvironments
Source§fn clone(&self) -> InstallationSuspendInstallationPermissionsEnvironments
fn clone(&self) -> InstallationSuspendInstallationPermissionsEnvironments
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 InstallationSuspendInstallationPermissionsEnvironments
impl<'de> Deserialize<'de> for InstallationSuspendInstallationPermissionsEnvironments
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<&InstallationSuspendInstallationPermissionsEnvironments> for InstallationSuspendInstallationPermissionsEnvironments
impl From<&InstallationSuspendInstallationPermissionsEnvironments> for InstallationSuspendInstallationPermissionsEnvironments
Source§fn from(value: &InstallationSuspendInstallationPermissionsEnvironments) -> Self
fn from(value: &InstallationSuspendInstallationPermissionsEnvironments) -> Self
Converts to this type from the input type.
Source§impl Ord for InstallationSuspendInstallationPermissionsEnvironments
impl Ord for InstallationSuspendInstallationPermissionsEnvironments
Source§fn cmp(
&self,
other: &InstallationSuspendInstallationPermissionsEnvironments,
) -> Ordering
fn cmp( &self, other: &InstallationSuspendInstallationPermissionsEnvironments, ) -> 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 InstallationSuspendInstallationPermissionsEnvironments
impl PartialEq for InstallationSuspendInstallationPermissionsEnvironments
Source§fn eq(
&self,
other: &InstallationSuspendInstallationPermissionsEnvironments,
) -> bool
fn eq( &self, other: &InstallationSuspendInstallationPermissionsEnvironments, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for InstallationSuspendInstallationPermissionsEnvironments
impl PartialOrd for InstallationSuspendInstallationPermissionsEnvironments
impl Copy for InstallationSuspendInstallationPermissionsEnvironments
impl Eq for InstallationSuspendInstallationPermissionsEnvironments
impl StructuralPartialEq for InstallationSuspendInstallationPermissionsEnvironments
Auto Trait Implementations§
impl Freeze for InstallationSuspendInstallationPermissionsEnvironments
impl RefUnwindSafe for InstallationSuspendInstallationPermissionsEnvironments
impl Send for InstallationSuspendInstallationPermissionsEnvironments
impl Sync for InstallationSuspendInstallationPermissionsEnvironments
impl Unpin for InstallationSuspendInstallationPermissionsEnvironments
impl UnwindSafe for InstallationSuspendInstallationPermissionsEnvironments
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