[][src]Struct dbcrossbarlib::schema::Srid

pub struct Srid(_);

An SRID number specifying how to intepret geographical coordinates.

Methods

impl Srid[src]

pub fn wgs84() -> Srid[src]

Return the one true SRID (WGS84), according to our GIS folks and Google BigQuery.

pub fn new(srid: u32) -> Srid[src]

Create a new Srid from a numeric code.

pub fn to_u32(self) -> u32[src]

Return our Srid as a u32.

Trait Implementations

impl Clone for Srid[src]

impl Copy for Srid[src]

impl Debug for Srid[src]

impl Default for Srid[src]

fn default() -> Self[src]

Default to WGS84.

impl<'de> Deserialize<'de> for Srid[src]

impl Display for Srid[src]

impl Eq for Srid[src]

impl PartialEq<Srid> for Srid[src]

impl Serialize for Srid[src]

impl StructuralEq for Srid[src]

impl StructuralPartialEq for Srid[src]

Auto Trait Implementations

impl RefUnwindSafe for Srid

impl Send for Srid

impl Sync for Srid

impl Unpin for Srid

impl UnwindSafe for Srid

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,