pub enum PatchProviderInstanceBodyKind {
Github,
Gitlab,
Gitea,
}Expand description
PatchProviderInstanceBodyKind
JSON schema
{
"type": "string",
"enum": [
"github",
"gitlab",
"gitea"
]
}Variants§
Trait Implementations§
Source§impl Clone for PatchProviderInstanceBodyKind
impl Clone for PatchProviderInstanceBodyKind
Source§fn clone(&self) -> PatchProviderInstanceBodyKind
fn clone(&self) -> PatchProviderInstanceBodyKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PatchProviderInstanceBodyKind
Source§impl<'de> Deserialize<'de> for PatchProviderInstanceBodyKind
impl<'de> Deserialize<'de> for PatchProviderInstanceBodyKind
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
impl Eq for PatchProviderInstanceBodyKind
Source§impl From<&PatchProviderInstanceBodyKind> for PatchProviderInstanceBodyKind
impl From<&PatchProviderInstanceBodyKind> for PatchProviderInstanceBodyKind
Source§fn from(value: &PatchProviderInstanceBodyKind) -> Self
fn from(value: &PatchProviderInstanceBodyKind) -> Self
Converts to this type from the input type.
Source§impl Hash for PatchProviderInstanceBodyKind
impl Hash for PatchProviderInstanceBodyKind
Source§impl Ord for PatchProviderInstanceBodyKind
impl Ord for PatchProviderInstanceBodyKind
Source§fn cmp(&self, other: &PatchProviderInstanceBodyKind) -> Ordering
fn cmp(&self, other: &PatchProviderInstanceBodyKind) -> Ordering
1.21.0 (const: unstable) · 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 PartialOrd for PatchProviderInstanceBodyKind
impl PartialOrd for PatchProviderInstanceBodyKind
impl StructuralPartialEq for PatchProviderInstanceBodyKind
Source§impl TryFrom<&String> for PatchProviderInstanceBodyKind
impl TryFrom<&String> for PatchProviderInstanceBodyKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PatchProviderInstanceBodyKind
impl TryFrom<&str> for PatchProviderInstanceBodyKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PatchProviderInstanceBodyKind
impl TryFrom<String> for PatchProviderInstanceBodyKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for PatchProviderInstanceBodyKind
impl RefUnwindSafe for PatchProviderInstanceBodyKind
impl Send for PatchProviderInstanceBodyKind
impl Sync for PatchProviderInstanceBodyKind
impl Unpin for PatchProviderInstanceBodyKind
impl UnsafeUnpin for PatchProviderInstanceBodyKind
impl UnwindSafe for PatchProviderInstanceBodyKind
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