pub enum DeclareSeparator {
Semicolon,
Comma,
}Expand description
Separator written between the declarations collected by one DECLARE keyword.
Variants§
Semicolon
Each declaration ends with ;, as in a Snowflake Scripting DECLARE section.
Comma
One comma-separated list, as in DECLARE @a INT, @b INT.
Trait Implementations§
Source§impl Clone for DeclareSeparator
impl Clone for DeclareSeparator
Source§fn clone(&self) -> DeclareSeparator
fn clone(&self) -> DeclareSeparator
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 moreimpl Copy for DeclareSeparator
Source§impl Debug for DeclareSeparator
impl Debug for DeclareSeparator
Source§impl Default for DeclareSeparator
impl Default for DeclareSeparator
Source§fn default() -> DeclareSeparator
fn default() -> DeclareSeparator
Returns the “default value” for a type. Read more
impl Eq for DeclareSeparator
Source§impl Hash for DeclareSeparator
impl Hash for DeclareSeparator
Source§impl Ord for DeclareSeparator
impl Ord for DeclareSeparator
Source§fn cmp(&self, other: &DeclareSeparator) -> Ordering
fn cmp(&self, other: &DeclareSeparator) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DeclareSeparator
impl PartialEq for DeclareSeparator
Source§impl PartialOrd for DeclareSeparator
impl PartialOrd for DeclareSeparator
impl StructuralPartialEq for DeclareSeparator
Auto Trait Implementations§
impl Freeze for DeclareSeparator
impl RefUnwindSafe for DeclareSeparator
impl Send for DeclareSeparator
impl Sync for DeclareSeparator
impl Unpin for DeclareSeparator
impl UnsafeUnpin for DeclareSeparator
impl UnwindSafe for DeclareSeparator
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