Skip to main content

TimestamptzArray

Type Alias TimestamptzArray 

Source
pub type TimestamptzArray = PrimitiveArray<Timestamptz>;

Aliased Type§

pub struct TimestamptzArray {
    bitmap: Bitmap,
    data: Box<[Timestamptz]>,
}

Fields§

§bitmap: Bitmap§data: Box<[Timestamptz]>

Trait Implementations§

Source§

impl<'a> From<&'a ArrayImpl> for &'a TimestamptzArray

Source§

fn from(array: &'a ArrayImpl) -> Self

Converts to this type from the input type.
Source§

impl From<ArrayImpl> for TimestamptzArray

Source§

fn from(array: ArrayImpl) -> Self

Converts to this type from the input type.
Source§

impl TryFrom<&PrimitiveArray<TimestampMicrosecondType>> for TimestamptzArray

Source§

type Error = ArrayError

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

fn try_from(array: &TimestampMicrosecondArray) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&PrimitiveArray<TimestampMillisecondType>> for TimestamptzArray

Source§

type Error = ArrayError

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

fn try_from(array: &TimestampMillisecondArray) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&PrimitiveArray<TimestampNanosecondType>> for TimestamptzArray

Source§

type Error = ArrayError

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

fn try_from(array: &TimestampNanosecondArray) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&PrimitiveArray<TimestampSecondType>> for TimestamptzArray

Source§

type Error = ArrayError

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

fn try_from(array: &TimestampSecondArray) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[PrimitiveArray<TimestampMicrosecondType>]> for TimestamptzArray

Source§

type Error = ArrayError

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

fn try_from(arrays: &[TimestampMicrosecondArray]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[PrimitiveArray<TimestampMillisecondType>]> for TimestamptzArray

Source§

type Error = ArrayError

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

fn try_from(arrays: &[TimestampMillisecondArray]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[PrimitiveArray<TimestampNanosecondType>]> for TimestamptzArray

Source§

type Error = ArrayError

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

fn try_from(arrays: &[TimestampNanosecondArray]) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<&[PrimitiveArray<TimestampSecondType>]> for TimestamptzArray

Source§

type Error = ArrayError

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

fn try_from(arrays: &[TimestampSecondArray]) -> Result<Self, Self::Error>

Performs the conversion.