Struct postgis_diesel::GeometryCollectionC[][src]

pub struct GeometryCollectionC<T> {
    pub v: T,
}

Container for a postgis::ewkb::GeometryCollectionT, use that structure in Insertable or Queryable struct.

#[macro_use] extern crate diesel;
use postgis_diesel::GeometryCollectionC;
use postgis::ewkb::{Point, GeometryCollectionT};
#[derive(Queryable)]
struct PointExample {
    id: i32,
    point: GeometryCollectionC<GeometryCollectionT<Point>>,
}

Fields

v: T

Trait Implementations

impl<'expr, T> AsExpression<Geometry> for &'expr GeometryCollectionC<T>[src]

type Expression = Bound<Geometry, Self>

The expression being returned

impl<T> AsExpression<Geometry> for GeometryCollectionC<T>[src]

type Expression = Bound<Geometry, Self>

The expression being returned

impl<'expr, T> AsExpression<Nullable<Geometry>> for &'expr GeometryCollectionC<T>[src]

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

The expression being returned

impl<T> AsExpression<Nullable<Geometry>> for GeometryCollectionC<T>[src]

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

The expression being returned

impl<T: Clone> Clone for GeometryCollectionC<T>[src]

impl<T: Debug> Debug for GeometryCollectionC<T>[src]

impl<P> FromSql<Geometry, Pg> for GeometryCollectionC<GeometryCollectionT<P>> where
    P: Point + EwkbRead + Debug
[src]

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

impl<T: PartialEq> PartialEq<GeometryCollectionC<T>> for GeometryCollectionC<T>[src]

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

type Row = Self

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

impl<T> StructuralPartialEq for GeometryCollectionC<T>[src]

impl<T, __DB> ToSql<Nullable<Geometry>, __DB> for GeometryCollectionC<T> where
    __DB: Backend,
    Self: ToSql<Geometry, __DB>, 
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for GeometryCollectionC<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for GeometryCollectionC<T> where
    T: Send
[src]

impl<T> Sync for GeometryCollectionC<T> where
    T: Sync
[src]

impl<T> Unpin for GeometryCollectionC<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for GeometryCollectionC<T> where
    T: UnwindSafe
[src]

Blanket Implementations

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

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

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

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

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

impl<T> IntoSql for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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<V, T> VZip<V> for T where
    V: MultiLane<T>,