pub struct KineticaBytes(pub Vec<u8>);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 BLOB column’s value. Kinetica refuses a BYTEA parameter, but takes the bytes of a text parameter as they are, so this sends them under the text type; it reads the BYTEA Kinetica sends.
Tuple Fields
0: Vec<u8>Trait Implementations
Source
impl Clone for KineticaBytes
Source
fn clone(&self) -> KineticaBytes
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 KineticaBytes
Source
impl<‘r> Decode<‘r, Postgres> for KineticaBytes
Source
impl Default for KineticaBytes
Source
fn default() -> KineticaBytes
Returns the “default value” for a type. Read more
Source
impl Encode<’_, Postgres> for KineticaBytes
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 KineticaBytes
Source
impl Hash for KineticaBytes
Source
impl Ord for KineticaBytes
Source
impl PartialEq for KineticaBytes
Source
fn eq(&self, other: &KineticaBytes) -> bool
Tests for
self and other values to be equal, and is used by ==.Source
impl PartialOrd for KineticaBytes
Source