Struct postgis_diesel::MultiLineStringC [−][src]
pub struct MultiLineStringC<T> {
pub v: T,
}
Expand description
Container for a postgis::ewkb::MultiLineStringT
, use that structure in Insertable
or Queryable
struct.
#[macro_use] extern crate diesel;
use postgis_diesel::MultiLineStringC;
use postgis::ewkb::{Point, MultiLineStringT};
#[derive(Queryable)]
struct PointExample {
id: i32,
point: MultiLineStringC<MultiLineStringT<Point>>,
}
Fields
v: T
Trait Implementations
type Expression = Bound<Geometry, Self>
type Expression = Bound<Geometry, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Geometry, Self>
type Expression = Bound<Geometry, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Nullable<Geometry>, Self>
type Expression = Bound<Nullable<Geometry>, Self>
The expression being returned
Perform the conversion
type Expression = Bound<Nullable<Geometry>, Self>
type Expression = Bound<Nullable<Geometry>, Self>
The expression being returned
Perform the conversion
impl<P> FromSql<Geometry, Pg> for MultiLineStringC<MultiLineStringT<P>> where
P: Point + EwkbRead + Debug,
impl<P> FromSql<Geometry, Pg> for MultiLineStringC<MultiLineStringT<P>> where
P: Point + EwkbRead + Debug,
impl<T, __ST, __DB> FromSqlRow<__ST, __DB> for MultiLineStringC<T> where
__DB: Backend,
Self: FromSql<__ST, __DB>,
impl<T, __ST, __DB> FromSqlRow<__ST, __DB> for MultiLineStringC<T> where
__DB: Backend,
Self: FromSql<__ST, __DB>,
See the trait documentation.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T, __ST, __DB> Queryable<__ST, __DB> for MultiLineStringC<T> where
__DB: Backend,
Self: FromSql<__ST, __DB>,
impl<T, __ST, __DB> Queryable<__ST, __DB> for MultiLineStringC<T> where
__DB: Backend,
Self: FromSql<__ST, __DB>,
Auto Trait Implementations
impl<T> RefUnwindSafe for MultiLineStringC<T> where
T: RefUnwindSafe,
impl<T> Send for MultiLineStringC<T> where
T: Send,
impl<T> Sync for MultiLineStringC<T> where
T: Sync,
impl<T> Unpin for MultiLineStringC<T> where
T: Unpin,
impl<T> UnwindSafe for MultiLineStringC<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
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>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more