pub enum DeleteEventRefType {
Tag,
Branch,
}
Expand description
The type of Git ref object deleted in the repository. Can be either branch
or tag
.
JSON schema
{
"description": "The type of Git ref object deleted in the repository. Can be either `branch` or `tag`.",
"type": "string",
"enum": [
"tag",
"branch"
]
}
Variants§
Trait Implementations§
Source§impl Clone for DeleteEventRefType
impl Clone for DeleteEventRefType
Source§fn clone(&self) -> DeleteEventRefType
fn clone(&self) -> DeleteEventRefType
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 Debug for DeleteEventRefType
impl Debug for DeleteEventRefType
Source§impl<'de> Deserialize<'de> for DeleteEventRefType
impl<'de> Deserialize<'de> for DeleteEventRefType
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<&DeleteEventRefType> for DeleteEventRefType
impl From<&DeleteEventRefType> for DeleteEventRefType
Source§fn from(value: &DeleteEventRefType) -> Self
fn from(value: &DeleteEventRefType) -> Self
Converts to this type from the input type.
Source§impl FromStr for DeleteEventRefType
impl FromStr for DeleteEventRefType
Source§impl Hash for DeleteEventRefType
impl Hash for DeleteEventRefType
Source§impl Ord for DeleteEventRefType
impl Ord for DeleteEventRefType
Source§fn cmp(&self, other: &DeleteEventRefType) -> Ordering
fn cmp(&self, other: &DeleteEventRefType) -> 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 DeleteEventRefType
impl PartialEq for DeleteEventRefType
Source§impl PartialOrd for DeleteEventRefType
impl PartialOrd for DeleteEventRefType
Source§impl Serialize for DeleteEventRefType
impl Serialize for DeleteEventRefType
Source§impl ToString for DeleteEventRefType
impl ToString for DeleteEventRefType
Source§impl TryFrom<&String> for DeleteEventRefType
impl TryFrom<&String> for DeleteEventRefType
Source§impl TryFrom<&str> for DeleteEventRefType
impl TryFrom<&str> for DeleteEventRefType
Source§impl TryFrom<String> for DeleteEventRefType
impl TryFrom<String> for DeleteEventRefType
impl Copy for DeleteEventRefType
impl Eq for DeleteEventRefType
impl StructuralPartialEq for DeleteEventRefType
Auto Trait Implementations§
impl Freeze for DeleteEventRefType
impl RefUnwindSafe for DeleteEventRefType
impl Send for DeleteEventRefType
impl Sync for DeleteEventRefType
impl Unpin for DeleteEventRefType
impl UnwindSafe for DeleteEventRefType
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