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