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