pub enum AlterTypeInstruction {
Add(FieldDefinition),
Rename(Vec<(Name, Name)>),
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AlterTypeInstruction
impl Clone for AlterTypeInstruction
Source§fn clone(&self) -> AlterTypeInstruction
fn clone(&self) -> AlterTypeInstruction
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> CustomToTokens<'a> for AlterTypeInstruction
impl<'a> CustomToTokens<'a> for AlterTypeInstruction
Source§impl Debug for AlterTypeInstruction
impl Debug for AlterTypeInstruction
Source§impl Display for AlterTypeInstruction
impl Display for AlterTypeInstruction
Source§impl FromStr for AlterTypeInstruction
impl FromStr for AlterTypeInstruction
Source§impl Parse for AlterTypeInstruction
impl Parse for AlterTypeInstruction
type Output = AlterTypeInstruction
fn parse(s: &mut StatementStream<'_>) -> Result<Self::Output>
Source§impl PartialEq for AlterTypeInstruction
impl PartialEq for AlterTypeInstruction
Source§impl ToTokens for AlterTypeInstruction
impl ToTokens for AlterTypeInstruction
Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Source§fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
fn into_token_stream(self) -> TokenStreamwhere
Self: Sized,
impl Eq for AlterTypeInstruction
impl StructuralPartialEq for AlterTypeInstruction
Auto Trait Implementations§
impl Freeze for AlterTypeInstruction
impl RefUnwindSafe for AlterTypeInstruction
impl Send for AlterTypeInstruction
impl Sync for AlterTypeInstruction
impl Unpin for AlterTypeInstruction
impl UnwindSafe for AlterTypeInstruction
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