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