Skip to main content

Primitive

Trait Primitive 

Source
pub trait Primitive {
    // Required method
    fn write_primative(&self, sql: &mut String);
}

Required Methods§

Source

fn write_primative(&self, sql: &mut String)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Primitive for &str

Source§

fn write_primative(&self, sql: &mut String)

Source§

impl Primitive for i64

Source§

fn write_primative(&self, sql: &mut String)

Source§

impl Primitive for String

Source§

fn write_primative(&self, sql: &mut String)

Source§

impl<P: Primitive> Primitive for Option<P>

Source§

fn write_primative(&self, sql: &mut String)

Implementors§