pub enum RangeAlignment {
Integer,
Double,
}Expand description
Physical range containers require at least integer alignment, even when their endpoint is narrower.
Variants§
Implementations§
Source§impl RangeAlignment
impl RangeAlignment
pub fn for_endpoint(endpoint: &ColumnType) -> Self
pub const fn catalog_name(self) -> &'static str
Trait Implementations§
Source§impl Clone for RangeAlignment
impl Clone for RangeAlignment
impl Copy for RangeAlignment
Source§impl Debug for RangeAlignment
impl Debug for RangeAlignment
Source§impl<'de> Deserialize<'de> for RangeAlignment
impl<'de> Deserialize<'de> for RangeAlignment
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
impl Eq for RangeAlignment
Source§impl PartialEq for RangeAlignment
impl PartialEq for RangeAlignment
Source§impl Serialize for RangeAlignment
impl Serialize for RangeAlignment
impl StructuralPartialEq for RangeAlignment
Auto Trait Implementations§
impl Freeze for RangeAlignment
impl RefUnwindSafe for RangeAlignment
impl Send for RangeAlignment
impl Sync for RangeAlignment
impl Unpin for RangeAlignment
impl UnsafeUnpin for RangeAlignment
impl UnwindSafe for RangeAlignment
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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