pub enum InstallationUnsuspendInstallationPermissionsMetadata {
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 InstallationUnsuspendInstallationPermissionsMetadata
impl Clone for InstallationUnsuspendInstallationPermissionsMetadata
Source§fn clone(&self) -> InstallationUnsuspendInstallationPermissionsMetadata
fn clone(&self) -> InstallationUnsuspendInstallationPermissionsMetadata
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 InstallationUnsuspendInstallationPermissionsMetadata
impl<'de> Deserialize<'de> for InstallationUnsuspendInstallationPermissionsMetadata
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<&InstallationUnsuspendInstallationPermissionsMetadata> for InstallationUnsuspendInstallationPermissionsMetadata
impl From<&InstallationUnsuspendInstallationPermissionsMetadata> for InstallationUnsuspendInstallationPermissionsMetadata
Source§fn from(value: &InstallationUnsuspendInstallationPermissionsMetadata) -> Self
fn from(value: &InstallationUnsuspendInstallationPermissionsMetadata) -> Self
Converts to this type from the input type.
Source§impl Ord for InstallationUnsuspendInstallationPermissionsMetadata
impl Ord for InstallationUnsuspendInstallationPermissionsMetadata
Source§fn cmp(
&self,
other: &InstallationUnsuspendInstallationPermissionsMetadata,
) -> Ordering
fn cmp( &self, other: &InstallationUnsuspendInstallationPermissionsMetadata, ) -> 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 InstallationUnsuspendInstallationPermissionsMetadata
impl PartialEq for InstallationUnsuspendInstallationPermissionsMetadata
Source§fn eq(
&self,
other: &InstallationUnsuspendInstallationPermissionsMetadata,
) -> bool
fn eq( &self, other: &InstallationUnsuspendInstallationPermissionsMetadata, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl PartialOrd for InstallationUnsuspendInstallationPermissionsMetadata
impl PartialOrd for InstallationUnsuspendInstallationPermissionsMetadata
impl Copy for InstallationUnsuspendInstallationPermissionsMetadata
impl Eq for InstallationUnsuspendInstallationPermissionsMetadata
impl StructuralPartialEq for InstallationUnsuspendInstallationPermissionsMetadata
Auto Trait Implementations§
impl Freeze for InstallationUnsuspendInstallationPermissionsMetadata
impl RefUnwindSafe for InstallationUnsuspendInstallationPermissionsMetadata
impl Send for InstallationUnsuspendInstallationPermissionsMetadata
impl Sync for InstallationUnsuspendInstallationPermissionsMetadata
impl Unpin for InstallationUnsuspendInstallationPermissionsMetadata
impl UnwindSafe for InstallationUnsuspendInstallationPermissionsMetadata
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