pub enum BlockAttribute {
Index(Vec<String>),
Unique(Vec<String>),
Map(String),
Id(Vec<String>),
}Expand description
Block-level attributes (e.g., @@index, @@unique, @@map, @@id).
Variants§
Trait Implementations§
Source§impl Clone for BlockAttribute
impl Clone for BlockAttribute
Source§fn clone(&self) -> BlockAttribute
fn clone(&self) -> BlockAttribute
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 moreAuto Trait Implementations§
impl Freeze for BlockAttribute
impl RefUnwindSafe for BlockAttribute
impl Send for BlockAttribute
impl Sync for BlockAttribute
impl Unpin for BlockAttribute
impl UnsafeUnpin for BlockAttribute
impl UnwindSafe for BlockAttribute
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