pub enum ProgrammingLanguage {
Python,
Javascript,
}
Variants§
Trait Implementations§
source§impl Clone for ProgrammingLanguage
impl Clone for ProgrammingLanguage
source§fn clone(&self) -> ProgrammingLanguage
fn clone(&self) -> ProgrammingLanguage
Returns a copy 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 ProgrammingLanguage
impl Debug for ProgrammingLanguage
source§impl<'de> Deserialize<'de> for ProgrammingLanguage
impl<'de> Deserialize<'de> for ProgrammingLanguage
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 Enum for ProgrammingLanguage
impl Enum for ProgrammingLanguage
§type SchemaType = ProgrammingLanguage
type SchemaType = ProgrammingLanguage
The enum in the schema that this type represents.
source§impl PartialEq for ProgrammingLanguage
impl PartialEq for ProgrammingLanguage
source§fn eq(&self, other: &ProgrammingLanguage) -> bool
fn eq(&self, other: &ProgrammingLanguage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ProgrammingLanguage
impl Serialize for ProgrammingLanguage
impl CoercesTo<Option<Option<ProgrammingLanguage>>> for ProgrammingLanguage
impl CoercesTo<Option<ProgrammingLanguage>> for ProgrammingLanguage
impl CoercesTo<Option<Vec<Option<ProgrammingLanguage>>>> for ProgrammingLanguage
impl CoercesTo<Option<Vec<ProgrammingLanguage>>> for ProgrammingLanguage
impl CoercesTo<ProgrammingLanguage> for ProgrammingLanguage
impl CoercesTo<Vec<ProgrammingLanguage>> for ProgrammingLanguage
impl CoercesTo<Vec<Vec<ProgrammingLanguage>>> for ProgrammingLanguage
impl Copy for ProgrammingLanguage
impl Eq for ProgrammingLanguage
impl StructuralPartialEq for ProgrammingLanguage
Auto Trait Implementations§
impl Freeze for ProgrammingLanguage
impl RefUnwindSafe for ProgrammingLanguage
impl Send for ProgrammingLanguage
impl Sync for ProgrammingLanguage
impl Unpin for ProgrammingLanguage
impl UnwindSafe for ProgrammingLanguage
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.