pub enum IdentityPropertyFormatKind {
FunctionCall(IdentityParameters),
StartAndIncrement(IdentityParameters),
}Available on crate feature
sql only.Expand description
A format of parameters of identity column.
It is Snowflake specific. Syntax
(seed , increment) | START num INCREMENT numMS SQL Server uses one way of representing these parameters. Syntax
(seed , increment)Variants§
FunctionCall(IdentityParameters)
A parameters of identity column declared like parameters of function call Example:
(100, 1)StartAndIncrement(IdentityParameters)
A parameters of identity column declared with keywords START and INCREMENT
Example:
START 100 INCREMENT 1Trait Implementations§
Source§impl Clone for IdentityPropertyFormatKind
impl Clone for IdentityPropertyFormatKind
Source§fn clone(&self) -> IdentityPropertyFormatKind
fn clone(&self) -> IdentityPropertyFormatKind
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 moreSource§impl Debug for IdentityPropertyFormatKind
impl Debug for IdentityPropertyFormatKind
Source§impl Display for IdentityPropertyFormatKind
impl Display for IdentityPropertyFormatKind
Source§impl Hash for IdentityPropertyFormatKind
impl Hash for IdentityPropertyFormatKind
Source§impl Ord for IdentityPropertyFormatKind
impl Ord for IdentityPropertyFormatKind
Source§fn cmp(&self, other: &IdentityPropertyFormatKind) -> Ordering
fn cmp(&self, other: &IdentityPropertyFormatKind) -> Ordering
1.21.0 · 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
Source§impl PartialOrd for IdentityPropertyFormatKind
impl PartialOrd for IdentityPropertyFormatKind
Source§impl Visit for IdentityPropertyFormatKind
impl Visit for IdentityPropertyFormatKind
Source§impl VisitMut for IdentityPropertyFormatKind
impl VisitMut for IdentityPropertyFormatKind
fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>where
V: VisitorMut,
impl Eq for IdentityPropertyFormatKind
impl StructuralPartialEq for IdentityPropertyFormatKind
Auto Trait Implementations§
impl Freeze for IdentityPropertyFormatKind
impl RefUnwindSafe for IdentityPropertyFormatKind
impl Send for IdentityPropertyFormatKind
impl Sync for IdentityPropertyFormatKind
impl Unpin for IdentityPropertyFormatKind
impl UnsafeUnpin for IdentityPropertyFormatKind
impl UnwindSafe for IdentityPropertyFormatKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more