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