pub enum IdentifierStart {
Underscore,
Letter,
}Expand description
What a target language accepts as the first character of an identifier.
Variants§
Underscore
Rust modules, Java, SQLAlchemy’s Python models and ERD node ids all
accept a leading _.
Letter
Prisma’s schema parser and Pydantic (SQLModel fields) reject a leading
_ outright, and SeaORM’s DeriveEntityModel drops it while building
the Column variant name. All three need a letter instead.
Trait Implementations§
Source§impl Clone for IdentifierStart
impl Clone for IdentifierStart
impl Copy for IdentifierStart
Source§impl Debug for IdentifierStart
impl Debug for IdentifierStart
impl Eq for IdentifierStart
Source§impl PartialEq for IdentifierStart
impl PartialEq for IdentifierStart
impl StructuralPartialEq for IdentifierStart
Auto Trait Implementations§
impl Freeze for IdentifierStart
impl RefUnwindSafe for IdentifierStart
impl Send for IdentifierStart
impl Sync for IdentifierStart
impl Unpin for IdentifierStart
impl UnsafeUnpin for IdentifierStart
impl UnwindSafe for IdentifierStart
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