pub enum AlterTypeInstruction {
Add(FieldDefinition),
Rename(Vec<(Name, Name)>),
}Variants
Add(FieldDefinition)
Rename(Vec<(Name, Name)>)
Implementations
Trait Implementations
sourceimpl Clone for AlterTypeInstruction
impl Clone for AlterTypeInstruction
sourcefn clone(&self) -> AlterTypeInstruction
fn clone(&self) -> AlterTypeInstruction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'a> CustomToTokens<'a> for AlterTypeInstruction
impl<'a> CustomToTokens<'a> for AlterTypeInstruction
fn to_tokens(&'a self, tokens: &mut TokenStream)
sourceimpl Debug for AlterTypeInstruction
impl Debug for AlterTypeInstruction
sourceimpl Display for AlterTypeInstruction
impl Display for AlterTypeInstruction
sourceimpl FromStr for AlterTypeInstruction
impl FromStr for AlterTypeInstruction
sourceimpl Parse for AlterTypeInstruction
impl Parse for AlterTypeInstruction
type Output = AlterTypeInstruction
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
sourceimpl PartialEq<AlterTypeInstruction> for AlterTypeInstruction
impl PartialEq<AlterTypeInstruction> for AlterTypeInstruction
sourcefn eq(&self, other: &AlterTypeInstruction) -> bool
fn eq(&self, other: &AlterTypeInstruction) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AlterTypeInstruction) -> bool
fn ne(&self, other: &AlterTypeInstruction) -> bool
This method tests for !=.
sourceimpl ToTokens for AlterTypeInstruction
impl ToTokens for AlterTypeInstruction
sourcefn to_tokens(&self, tokens: &mut TokenStream)
fn to_tokens(&self, tokens: &mut TokenStream)
Write self to the given TokenStream. Read more
sourcefn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Convert self directly into a TokenStream object. Read more
sourcefn into_token_stream(self) -> TokenStream
fn into_token_stream(self) -> TokenStream
Convert self directly into a TokenStream object. Read more
impl Eq for AlterTypeInstruction
impl StructuralEq for AlterTypeInstruction
impl StructuralPartialEq for AlterTypeInstruction
Auto Trait Implementations
impl RefUnwindSafe for AlterTypeInstruction
impl Send for AlterTypeInstruction
impl Sync for AlterTypeInstruction
impl Unpin for AlterTypeInstruction
impl UnwindSafe for AlterTypeInstruction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more