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