pub enum AlterCurrentGraphTypeTarget {
Body(GraphTypeBody),
Named(SmallName),
}Expand description
What an ALTER CURRENT GRAPH TYPE verb applies: an inline { <body> },
or — ADR-0211’s ALTER CURRENT GRAPH TYPE SET GRAPH TYPE <name> — a
reference to a CREATE GRAPH TYPE-declared named type, promoted to
current. The invalid combinations (a verb body and a named reference)
are unrepresentable; no parser placeholder and no consumer-side doc
invariant.
Variants§
Body(GraphTypeBody)
Named(SmallName)
Trait Implementations§
Source§impl Clone for AlterCurrentGraphTypeTarget
impl Clone for AlterCurrentGraphTypeTarget
Source§impl Debug for AlterCurrentGraphTypeTarget
impl Debug for AlterCurrentGraphTypeTarget
impl StructuralPartialEq for AlterCurrentGraphTypeTarget
Auto Trait Implementations§
impl Forget for AlterCurrentGraphTypeTarget
impl Freeze for AlterCurrentGraphTypeTarget
impl Move for AlterCurrentGraphTypeTarget
impl RefUnwindSafe for AlterCurrentGraphTypeTarget
impl Send for AlterCurrentGraphTypeTarget
impl Sync for AlterCurrentGraphTypeTarget
impl Unpin for AlterCurrentGraphTypeTarget
impl UnsafeUnpin for AlterCurrentGraphTypeTarget
impl UnwindSafe for AlterCurrentGraphTypeTarget
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