Struct postgres::types::Slice [] [src]

pub struct Slice<'a, T: 'a + ToSql>(pub &'a [T]);

Deprecated

ToSql is now implemented directly for slices.

Trait Implementations

impl<'a, T: 'a + ToSql> ToSql for Slice<'a, T>
[src]

fn to_sql<W: Write + ?Sized>(&self, ty: &Type, w: &mut W, ctx: &SessionInfo) -> Result<IsNull>

fn accepts(ty: &Type) -> bool

fn to_sql_checked(&self, ty: &Type, out: &mut Write, ctx: &SessionInfo) -> Result<IsNull>

Derived Implementations

impl<'a, T: Debug + 'a + ToSql> Debug for Slice<'a, T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result