pub struct CreateTypeEnum<'a> {
pub create_span: Span,
pub create_options: Vec<CreateOption<'a>>,
pub type_span: Span,
pub name: QualifiedName<'a>,
pub as_enum_span: Span,
pub values: Vec<SString<'a>>,
}Fields§
§create_span: SpanSpan of “CREATE”
create_options: Vec<CreateOption<'a>>Options after “CREATE”
type_span: SpanSpan of “TYPE”
name: QualifiedName<'a>Name of the created type
as_enum_span: SpanSpan of “AS ENUM”
values: Vec<SString<'a>>Enum values
Trait Implementations§
Source§impl<'a> Clone for CreateTypeEnum<'a>
impl<'a> Clone for CreateTypeEnum<'a>
Source§fn clone(&self) -> CreateTypeEnum<'a>
fn clone(&self) -> CreateTypeEnum<'a>
Returns a duplicate 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<'a> Debug for CreateTypeEnum<'a>
impl<'a> Debug for CreateTypeEnum<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateTypeEnum<'a>
impl<'a> RefUnwindSafe for CreateTypeEnum<'a>
impl<'a> Send for CreateTypeEnum<'a>
impl<'a> Sync for CreateTypeEnum<'a>
impl<'a> Unpin for CreateTypeEnum<'a>
impl<'a> UnsafeUnpin for CreateTypeEnum<'a>
impl<'a> UnwindSafe for CreateTypeEnum<'a>
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