Struct postgis_diesel::GeometryCollectionC [−][src]
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
fn as_expression(self) -> Self::Expression
[src]
impl<T> AsExpression<Geometry> for GeometryCollectionC<T>
[src]
type Expression = Bound<Geometry, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<'expr, T> AsExpression<Nullable<Geometry>> for &'expr GeometryCollectionC<T>
[src]
type Expression = Bound<Nullable<Geometry>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<T> AsExpression<Nullable<Geometry>> for GeometryCollectionC<T>
[src]
type Expression = Bound<Nullable<Geometry>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
impl<T: Clone> Clone for GeometryCollectionC<T>
[src]
fn clone(&self) -> GeometryCollectionC<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T: Debug> Debug for GeometryCollectionC<T>
[src]
impl<P> FromSql<Geometry, Pg> for GeometryCollectionC<GeometryCollectionT<P>> where
P: Point + EwkbRead + Debug,
[src]
P: Point + EwkbRead + Debug,
impl<T, __ST, __DB> FromSqlRow<__ST, __DB> for GeometryCollectionC<T> where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
pub const FIELDS_NEEDED: usize
[src]
impl<T: PartialEq> PartialEq<GeometryCollectionC<T>> for GeometryCollectionC<T>
[src]
fn eq(&self, other: &GeometryCollectionC<T>) -> bool
[src]
fn ne(&self, other: &GeometryCollectionC<T>) -> bool
[src]
impl<T, __ST, __DB> Queryable<__ST, __DB> for GeometryCollectionC<T> where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
__DB: Backend,
Self: FromSql<__ST, __DB>,
type Row = Self
The Rust type you'd like to map from. Read more
fn build(row: Self::Row) -> Self
[src]
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]
__DB: Backend,
Self: ToSql<Geometry, __DB>,
Auto Trait Implementations
impl<T> RefUnwindSafe for GeometryCollectionC<T> where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Send for GeometryCollectionC<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for GeometryCollectionC<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for GeometryCollectionC<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> UnwindSafe for GeometryCollectionC<T> where
T: UnwindSafe,
[src]
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
[src]
pub fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
pub fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,