#[non_exhaustive]pub struct CodegenGenericDataEnum {
    pub values: Vec<String>,
}Expand description
Describes the enums in a generic data schema.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.values: Vec<String>The list of enum values in the generic data schema.
Implementations§
source§impl CodegenGenericDataEnum
 
impl CodegenGenericDataEnum
sourcepub fn builder() -> CodegenGenericDataEnumBuilder
 
pub fn builder() -> CodegenGenericDataEnumBuilder
Creates a new builder-style object to manufacture CodegenGenericDataEnum.
Trait Implementations§
source§impl Clone for CodegenGenericDataEnum
 
impl Clone for CodegenGenericDataEnum
source§fn clone(&self) -> CodegenGenericDataEnum
 
fn clone(&self) -> CodegenGenericDataEnum
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 CodegenGenericDataEnum
 
impl Debug for CodegenGenericDataEnum
source§impl PartialEq for CodegenGenericDataEnum
 
impl PartialEq for CodegenGenericDataEnum
source§fn eq(&self, other: &CodegenGenericDataEnum) -> bool
 
fn eq(&self, other: &CodegenGenericDataEnum) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CodegenGenericDataEnum
Auto Trait Implementations§
impl RefUnwindSafe for CodegenGenericDataEnum
impl Send for CodegenGenericDataEnum
impl Sync for CodegenGenericDataEnum
impl Unpin for CodegenGenericDataEnum
impl UnwindSafe for CodegenGenericDataEnum
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
source§impl<T> Instrument for T
 
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
 
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
 
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.