Enum iceberg_rust::model::data_types::PrimitiveType
source · pub enum PrimitiveType {
}
Expand description
Primitive data types
Variants§
Boolean
True or False
Int
32-bit signed integer
Long
64-bit signed integer
Float
32-bit IEEE 753 floating bit.
Double
64-bit IEEE 753 floating bit.
Decimal
Fixed point decimal
Date
Calendar date without timezone or time.
Time
Time of day without date or timezone.
Timestamp
Timestamp without timezone
Timestampz
Timestamp with timezone
String
Arbitrary-length character sequences
Uuid
Universally Unique Identifiers
Fixed(u64)
Fixed length byte array
Binary
Arbitrary-length byte array.
Implementations§
source§impl PrimitiveType
impl PrimitiveType
pub fn serialize<__S>(
__self: &PrimitiveType,
__serializer: __S
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
source§impl<'de> PrimitiveType
impl<'de> PrimitiveType
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<PrimitiveType, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for PrimitiveType
impl Clone for PrimitiveType
source§fn clone(&self) -> PrimitiveType
fn clone(&self) -> PrimitiveType
Returns a copy 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 PrimitiveType
impl Debug for PrimitiveType
source§impl<'de> Deserialize<'de> for PrimitiveType
impl<'de> Deserialize<'de> for PrimitiveType
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 Display for PrimitiveType
impl Display for PrimitiveType
source§impl PartialEq<PrimitiveType> for PrimitiveType
impl PartialEq<PrimitiveType> for PrimitiveType
source§fn eq(&self, other: &PrimitiveType) -> bool
fn eq(&self, other: &PrimitiveType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PrimitiveType
impl Serialize for PrimitiveType
impl Eq for PrimitiveType
impl StructuralEq for PrimitiveType
impl StructuralPartialEq for PrimitiveType
Auto Trait Implementations§
impl RefUnwindSafe for PrimitiveType
impl Send for PrimitiveType
impl Sync for PrimitiveType
impl Unpin for PrimitiveType
impl UnwindSafe for PrimitiveType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.