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: Debug + 'a + ToSql> Debug for Slice<'a, T>
[src]

Formats the value using the given formatter.

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

Converts the value of self into the binary format of the specified Postgres Type, writing it to out. Read more

Determines if a value of this type can be converted to the specified Postgres Type. Read more

An adaptor method used internally by Rust-Postgres. Read more