pub enum SidHelperLanguage {
JavaScript,
Python,
Named(&'static str),
}Expand description
The language a surrogate-key helper’s body is written in, where that body is not SQL.
The two named languages are the ones Razeri’s function renderers already
spell a LANGUAGE clause for. Anything else is Named,
which carries the keyword through unchanged.
Variants§
JavaScript
JavaScript.
Python
Python.
Named(&'static str)
A language keyword this contract does not name, spelled exactly as the
engine’s LANGUAGE clause takes it.
Trait Implementations§
Source§impl Clone for SidHelperLanguage
impl Clone for SidHelperLanguage
impl Copy for SidHelperLanguage
Source§impl Debug for SidHelperLanguage
impl Debug for SidHelperLanguage
impl Eq for SidHelperLanguage
Source§impl PartialEq for SidHelperLanguage
impl PartialEq for SidHelperLanguage
impl StructuralPartialEq for SidHelperLanguage
Auto Trait Implementations§
impl Forget for SidHelperLanguage
impl Freeze for SidHelperLanguage
impl Move for SidHelperLanguage
impl RefUnwindSafe for SidHelperLanguage
impl Send for SidHelperLanguage
impl Sync for SidHelperLanguage
impl Unpin for SidHelperLanguage
impl UnsafeUnpin for SidHelperLanguage
impl UnwindSafe for SidHelperLanguage
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