pub enum RangeBound {
MinValue,
MaxValue,
Value(String),
Date(String),
Int(i64),
}Expand description
A bound value for range partitions.
Variants§
MinValue
Minimum value (MINVALUE in PostgreSQL).
MaxValue
Maximum value (MAXVALUE in PostgreSQL).
Value(String)
A specific value.
Date(String)
A date value.
Int(i64)
An integer value.
Implementations§
Trait Implementations§
Source§impl Clone for RangeBound
impl Clone for RangeBound
Source§fn clone(&self) -> RangeBound
fn clone(&self) -> RangeBound
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 RangeBound
impl Debug for RangeBound
Source§impl<'de> Deserialize<'de> for RangeBound
impl<'de> Deserialize<'de> for RangeBound
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 PartialEq for RangeBound
impl PartialEq for RangeBound
Source§impl Serialize for RangeBound
impl Serialize for RangeBound
impl Eq for RangeBound
impl StructuralPartialEq for RangeBound
Auto Trait Implementations§
impl Freeze for RangeBound
impl RefUnwindSafe for RangeBound
impl Send for RangeBound
impl Sync for RangeBound
impl Unpin for RangeBound
impl UnwindSafe for RangeBound
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