[][src]Struct diesel_geometry::pg::types::geometric::PgBox

pub struct PgBox(pub PgPoint, pub PgPoint);

Box is represented in Postgres as a tuple of points (lower left, upper right). This struct is a dumb wrapper type, meant only to indicate the tuple's meaning.

Trait Implementations

impl Copy for PgBox[src]

impl PartialEq<PgBox> for PgBox[src]

impl Clone for PgBox[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for PgBox[src]

impl<__ST, __DB> Queryable<__ST, __DB> for PgBox where
    __DB: Backend,
    Self: FromSql<__ST, __DB>, 
[src]

type Row = Self

The Rust type you'd like to map from. Read more

impl<'expr> AsExpression<Box> for &'expr PgBox[src]

type Expression = Bound<Box, Self>

The expression being returned

impl<'expr> AsExpression<Nullable<Box>> for &'expr PgBox[src]

type Expression = Bound<Nullable<Box>, Self>

The expression being returned

impl AsExpression<Box> for PgBox[src]

type Expression = Bound<Box, Self>

The expression being returned

impl AsExpression<Nullable<Box>> for PgBox[src]

type Expression = Bound<Nullable<Box>, Self>

The expression being returned

impl<__DB> ToSql<Nullable<Box>, __DB> for PgBox where
    __DB: Backend,
    Self: ToSql<Box, __DB>, 
[src]

impl ToSql<Box, Pg> for PgBox[src]

impl FromSql<Box, Pg> for PgBox[src]

impl<__ST, __DB> FromSqlRow<__ST, __DB> for PgBox where
    __DB: Backend,
    Self: FromSql<__ST, __DB>, 
[src]

const FIELDS_NEEDED: usize[src]

The number of fields that this type will consume. Must be equal to the number of times you would call row.take() in build_from_row Read more

Auto Trait Implementations

impl Send for PgBox

impl Sync for PgBox

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> IntoSql for T[src]

fn into_sql<T>(self) -> Self::Expression where
    Self: AsExpression<T>, 
[src]

Convert self to an expression for Diesel's query builder. Read more

fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
    &'a Self: AsExpression<T>, 
[src]

Convert &self to an expression for Diesel's query builder. Read more