pub enum PatchProviderInstanceResponseKind {
Github,
Gitlab,
Gitea,
}Expand description
PatchProviderInstanceResponseKind
JSON schema
{
"type": "string",
"enum": [
"github",
"gitlab",
"gitea"
]
}Variants§
Trait Implementations§
Source§impl Clone for PatchProviderInstanceResponseKind
impl Clone for PatchProviderInstanceResponseKind
Source§fn clone(&self) -> PatchProviderInstanceResponseKind
fn clone(&self) -> PatchProviderInstanceResponseKind
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 moreSource§impl<'de> Deserialize<'de> for PatchProviderInstanceResponseKind
impl<'de> Deserialize<'de> for PatchProviderInstanceResponseKind
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<&PatchProviderInstanceResponseKind> for PatchProviderInstanceResponseKind
impl From<&PatchProviderInstanceResponseKind> for PatchProviderInstanceResponseKind
Source§fn from(value: &PatchProviderInstanceResponseKind) -> Self
fn from(value: &PatchProviderInstanceResponseKind) -> Self
Converts to this type from the input type.
Source§impl Ord for PatchProviderInstanceResponseKind
impl Ord for PatchProviderInstanceResponseKind
Source§fn cmp(&self, other: &PatchProviderInstanceResponseKind) -> Ordering
fn cmp(&self, other: &PatchProviderInstanceResponseKind) -> 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 PartialEq for PatchProviderInstanceResponseKind
impl PartialEq for PatchProviderInstanceResponseKind
Source§fn eq(&self, other: &PatchProviderInstanceResponseKind) -> bool
fn eq(&self, other: &PatchProviderInstanceResponseKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PatchProviderInstanceResponseKind
impl PartialOrd for PatchProviderInstanceResponseKind
Source§impl TryFrom<&String> for PatchProviderInstanceResponseKind
impl TryFrom<&String> for PatchProviderInstanceResponseKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PatchProviderInstanceResponseKind
impl TryFrom<&str> for PatchProviderInstanceResponseKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PatchProviderInstanceResponseKind
impl TryFrom<String> for PatchProviderInstanceResponseKind
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for PatchProviderInstanceResponseKind
impl Eq for PatchProviderInstanceResponseKind
impl StructuralPartialEq for PatchProviderInstanceResponseKind
Auto Trait Implementations§
impl Freeze for PatchProviderInstanceResponseKind
impl RefUnwindSafe for PatchProviderInstanceResponseKind
impl Send for PatchProviderInstanceResponseKind
impl Sync for PatchProviderInstanceResponseKind
impl Unpin for PatchProviderInstanceResponseKind
impl UnsafeUnpin for PatchProviderInstanceResponseKind
impl UnwindSafe for PatchProviderInstanceResponseKind
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