pub enum RecordValue
Null,
Int(i32),
Long(i64),
Float(f32),
Double(f64),
String(String),
Bytes(Vec<u8>),
A typed value that can be stored in a GenericRecord.
Variants
Null
Null value
32-bit integer (also used for boolean, int8, int16)
64-bit integer (also used for timestamp)
32-bit float
64-bit double
String (also used for date, time, datetime, char, uuid, ipv4, decimal)
Raw bytes
Implementations
Source
impl RecordValue
Trait Implementations
Source
impl Clone for RecordValue
Source
fn clone(&self) -> RecordValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource
impl Debug for RecordValue
Source
impl From<&str> for RecordValue
Source
impl<T: Into<RecordValue>> From<Option<T>> for RecordValue
Source
impl From<String> for RecordValue
Source
impl From<bool> for RecordValue
Source
impl From<f32> for RecordValue
Source
impl From<f64> for RecordValue
Source
impl From<i32> for RecordValue
Source
impl From<i64> for RecordValue
Source
impl PartialEq for RecordValue
Source
fn eq(&self, other: &RecordValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source