[][src]Struct diesel_geography::types::GeogPoint

pub struct GeogPoint {
    pub x: f64,
    pub y: f64,
    pub srid: Option<i32>,
}

Fields

Trait Implementations

impl Clone for GeogPoint
[src]

Performs copy-assignment from source. Read more

impl Copy for GeogPoint
[src]

impl From<Point> for GeogPoint
[src]

impl From<GeogPoint> for Point
[src]

impl PartialEq<GeogPoint> for GeogPoint
[src]

impl Debug for GeogPoint
[src]

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

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

impl<'expr> AsExpression<Geography> for &'expr GeogPoint
[src]

The expression being returned

impl<'expr> AsExpression<Nullable<Geography>> for &'expr GeogPoint
[src]

The expression being returned

impl AsExpression<Geography> for GeogPoint
[src]

The expression being returned

impl AsExpression<Nullable<Geography>> for GeogPoint
[src]

The expression being returned

impl<__DB> ToSql<Nullable<Geography>, __DB> for GeogPoint where
    __DB: Backend,
    Self: ToSql<Geography, __DB>, 
[src]

impl ToSql<Geography, Pg> for GeogPoint
[src]

impl FromSql<Geography, Pg> for GeogPoint
[src]

impl<__ST, __DB> FromSqlRow<__ST, __DB> for GeogPoint where
    __DB: Backend,
    Self: FromSql<__ST, __DB>, 
[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 GeogPoint

impl Sync for GeogPoint

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> IntoSql for T
[src]

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

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

impl<T> Same for T

Should always be Self