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