pub enum SqlOption {
Clustered(TableOptionsClustered),
Ident(Ident),
KeyValue {
key: Ident,
value: Expr,
},
Partition {
column_name: Ident,
range_direction: Option<PartitionRangeDirection>,
for_values: Vec<Expr>,
},
}
Variants§
Clustered(TableOptionsClustered)
Clustered represents the clustered version of table storage for MSSQL.
Ident(Ident)
Single identifier options, e.g. HEAP
for MSSQL.
KeyValue
Any option that consists of a key value pair where the value is an expression. e.g.
WITH(DISTRIBUTION = ROUND_ROBIN)
Partition
One or more table partitions and represents which partition the boundary values belong to, e.g.
PARTITION (id RANGE LEFT FOR VALUES (10, 20, 30, 40))
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SqlOption
impl<'de> Deserialize<'de> for SqlOption
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for SqlOption
impl Ord for SqlOption
Source§impl PartialOrd for SqlOption
impl PartialOrd for SqlOption
Source§impl VisitMut for SqlOption
impl VisitMut for SqlOption
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for SqlOption
impl StructuralPartialEq for SqlOption
Auto Trait Implementations§
impl Freeze for SqlOption
impl RefUnwindSafe for SqlOption
impl Send for SqlOption
impl Sync for SqlOption
impl Unpin for SqlOption
impl UnwindSafe for SqlOption
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)