PairImpl

Enum PairImpl 

Source
pub enum PairImpl {
Show 22 variants Bool(Pair<Bool>), Char(Pair<Char>), Short(Pair<Short>), Int(Pair<Int>), Long(Pair<Long>), Date(Pair<Date>), Month(Pair<Month>), Time(Pair<Time>), Minute(Pair<Minute>), Second(Pair<Second>), DateTime(Pair<DateTime>), Timestamp(Pair<Timestamp>), NanoTime(Pair<NanoTime>), NanoTimestamp(Pair<NanoTimestamp>), Float(Pair<Float>), Double(Pair<Double>), Symbol(Pair<Symbol>), String(Pair<DolphinString>), DateHour(Pair<DateHour>), Decimal32(Pair<Decimal32>), Decimal64(Pair<Decimal64>), Decimal128(Pair<Decimal128>),
}

Variants§

§

Bool(Pair<Bool>)

§

Char(Pair<Char>)

§

Short(Pair<Short>)

§

Int(Pair<Int>)

§

Long(Pair<Long>)

§

Date(Pair<Date>)

§

Month(Pair<Month>)

§

Time(Pair<Time>)

§

Minute(Pair<Minute>)

§

Second(Pair<Second>)

§

DateTime(Pair<DateTime>)

§

Timestamp(Pair<Timestamp>)

§

NanoTime(Pair<NanoTime>)

§

NanoTimestamp(Pair<NanoTimestamp>)

§

Float(Pair<Float>)

§

Double(Pair<Double>)

§

Symbol(Pair<Symbol>)

§

String(Pair<DolphinString>)

§

DateHour(Pair<DateHour>)

§

Decimal32(Pair<Decimal32>)

§

Decimal64(Pair<Decimal64>)

§

Decimal128(Pair<Decimal128>)

Implementations§

Source§

impl PairImpl

Source

pub const FORM_BYTE: DataForm = DataForm::Pair

Source

pub fn data_form() -> DataForm

Source§

impl PairImpl

Source

pub fn data_type(&self) -> DataType

Trait Implementations§

Source§

impl Clone for PairImpl

Source§

fn clone(&self) -> PairImpl

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Constant for PairImpl

Source§

fn data_form(&self) -> DataForm

data category identifier for serialization.
Source§

fn data_type(&self) -> DataType

data type identifier for serialization.
Source§

fn len(&self) -> usize

Returns the number of elements in Constant.
Source§

fn is_empty(&self) -> bool

Source§

impl Debug for PairImpl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for PairImpl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Pair<Bool>> for PairImpl

Source§

fn from(value: Pair<Bool>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Char>> for PairImpl

Source§

fn from(value: Pair<Char>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Date>> for PairImpl

Source§

fn from(value: Pair<Date>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<DateHour>> for PairImpl

Source§

fn from(value: Pair<DateHour>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<DateTime>> for PairImpl

Source§

fn from(value: Pair<DateTime>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Decimal128>> for PairImpl

Source§

fn from(value: Pair<Decimal128>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Decimal32>> for PairImpl

Source§

fn from(value: Pair<Decimal32>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Decimal64>> for PairImpl

Source§

fn from(value: Pair<Decimal64>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<DolphinString>> for PairImpl

Source§

fn from(value: Pair<DolphinString>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Double>> for PairImpl

Source§

fn from(value: Pair<Double>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Float>> for PairImpl

Source§

fn from(value: Pair<Float>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Int>> for PairImpl

Source§

fn from(value: Pair<Int>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Long>> for PairImpl

Source§

fn from(value: Pair<Long>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Minute>> for PairImpl

Source§

fn from(value: Pair<Minute>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Month>> for PairImpl

Source§

fn from(value: Pair<Month>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<NanoTime>> for PairImpl

Source§

fn from(value: Pair<NanoTime>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<NanoTimestamp>> for PairImpl

Source§

fn from(value: Pair<NanoTimestamp>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Second>> for PairImpl

Source§

fn from(value: Pair<Second>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Short>> for PairImpl

Source§

fn from(value: Pair<Short>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Symbol>> for PairImpl

Source§

fn from(value: Pair<Symbol>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Time>> for PairImpl

Source§

fn from(value: Pair<Time>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<Timestamp>> for PairImpl

Source§

fn from(value: Pair<Timestamp>) -> Self

Converts to this type from the input type.
Source§

impl From<PairImpl> for Any

Source§

fn from(value: PairImpl) -> Self

Converts to this type from the input type.
Source§

impl From<PairImpl> for ConstantImpl

Source§

fn from(value: PairImpl) -> Self

Converts to this type from the input type.
Source§

impl From<PairImpl> for VectorImpl

Source§

fn from(value: PairImpl) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for PairImpl

Source§

fn eq(&self, other: &PairImpl) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<ConstantImpl> for PairImpl

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: ConstantImpl) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VectorImpl> for PairImpl

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(value: VectorImpl) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Eq for PairImpl

Source§

impl StructuralPartialEq for PairImpl

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.