pub struct KineticaTimestamp(pub DateTime<Utc>);Values for the Kinetica types SQLx’s own PostgreSQL types cannot read or write over Kinetica’s protocol, or cannot reliably: see their module. A TIMESTAMP column’s value: milliseconds since the Unix epoch, which Kinetica sends as BIGINT and takes as text.
Tuple Fields
0: DateTime<Utc>Implementations
Trait Implementations
Source
impl Clone for KineticaTimestamp
Source
fn clone(&self) -> KineticaTimestamp
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 Copy for KineticaTimestamp
Source
impl Debug for KineticaTimestamp
Source
impl<‘r> Decode<‘r, Postgres> for KineticaTimestamp
Source
impl Encode<’_, Postgres> for KineticaTimestamp
Source
fn encode_by_ref( &self, buf: &mut PgArgumentBuffer, ) -> Result<IsNull, BoxDynError>
Writes the value of
self into buf in the expected format for the database.Source
impl Eq for KineticaTimestamp
Source
impl Hash for KineticaTimestamp
Source
impl Ord for KineticaTimestamp
Source
impl PartialEq for KineticaTimestamp
Source
fn eq(&self, other: &KineticaTimestamp) -> bool
Tests for
self and other values to be equal, and is used by ==.Source