[−][src]Struct diesel_geography::types::GeogPoint
Fields
x: f64
y: f64
srid: Option<i32>
Trait Implementations
impl Clone for GeogPoint
[src]
impl Clone for GeogPoint
fn clone(&self) -> GeogPoint
[src]
fn clone(&self) -> GeogPoint
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for GeogPoint
[src]
impl Copy for GeogPoint
impl From<Point> for GeogPoint
[src]
impl From<Point> for GeogPoint
impl From<GeogPoint> for Point
[src]
impl From<GeogPoint> for Point
impl PartialEq<GeogPoint> for GeogPoint
[src]
impl PartialEq<GeogPoint> for GeogPoint
impl Debug for GeogPoint
[src]
impl Debug for GeogPoint
impl<__ST, __DB> Queryable<__ST, __DB> for GeogPoint where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
impl<__ST, __DB> Queryable<__ST, __DB> for GeogPoint where
__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]
fn build(row: Self::Row) -> Self
impl<'expr> AsExpression<Geography> for &'expr GeogPoint
[src]
impl<'expr> AsExpression<Geography> for &'expr GeogPoint
type Expression = Bound<Geography, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
impl<'expr> AsExpression<Nullable<Geography>> for &'expr GeogPoint
[src]
impl<'expr> AsExpression<Nullable<Geography>> for &'expr GeogPoint
type Expression = Bound<Nullable<Geography>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
impl AsExpression<Geography> for GeogPoint
[src]
impl AsExpression<Geography> for GeogPoint
type Expression = Bound<Geography, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
impl AsExpression<Nullable<Geography>> for GeogPoint
[src]
impl AsExpression<Nullable<Geography>> for GeogPoint
type Expression = Bound<Nullable<Geography>, Self>
The expression being returned
fn as_expression(self) -> Self::Expression
[src]
fn as_expression(self) -> Self::Expression
impl<__DB> ToSql<Nullable<Geography>, __DB> for GeogPoint where
__DB: Backend,
Self: ToSql<Geography, __DB>,
[src]
impl<__DB> ToSql<Nullable<Geography>, __DB> for GeogPoint where
__DB: Backend,
Self: ToSql<Geography, __DB>,
impl ToSql<Geography, Pg> for GeogPoint
[src]
impl ToSql<Geography, Pg> for GeogPoint
impl FromSql<Geography, Pg> for GeogPoint
[src]
impl FromSql<Geography, Pg> for GeogPoint
impl<__ST, __DB> FromSqlRow<__ST, __DB> for GeogPoint where
__DB: Backend,
Self: FromSql<__ST, __DB>,
[src]
impl<__ST, __DB> FromSqlRow<__ST, __DB> for GeogPoint where
__DB: Backend,
Self: FromSql<__ST, __DB>,
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
[src]
fn build_from_row<R: Row<__DB>>(row: &mut R) -> Result<Self>
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
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
impl<T> IntoSql for T
[src]
impl<T> IntoSql for T
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
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]
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
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self