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