pub enum PlaceholderType {
Anonymous,
Numbered(u32),
ColonNamed(String),
AtNamed(String),
DollarNamed(String),
}Expand description
Bind parameter types.
Variants§
Anonymous
? — anonymous positional.
Numbered(u32)
?NNN — numbered positional.
ColonNamed(String)
:name — colon-prefixed named parameter.
AtNamed(String)
@name — at-prefixed named parameter.
DollarNamed(String)
$name — dollar-prefixed named parameter.
Trait Implementations§
Source§impl Clone for PlaceholderType
impl Clone for PlaceholderType
Source§fn clone(&self) -> PlaceholderType
fn clone(&self) -> PlaceholderType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlaceholderType
impl Debug for PlaceholderType
Source§impl Display for PlaceholderType
impl Display for PlaceholderType
impl Eq for PlaceholderType
Source§impl Hash for PlaceholderType
impl Hash for PlaceholderType
Source§impl PartialEq for PlaceholderType
impl PartialEq for PlaceholderType
impl StructuralPartialEq for PlaceholderType
Auto Trait Implementations§
impl Freeze for PlaceholderType
impl RefUnwindSafe for PlaceholderType
impl Send for PlaceholderType
impl Sync for PlaceholderType
impl Unpin for PlaceholderType
impl UnsafeUnpin for PlaceholderType
impl UnwindSafe for PlaceholderType
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