[][src]Struct df_st_core::df_world::mountain_peak::MountainPeak

pub struct MountainPeak {
    pub id: i32,
    pub name: Option<String>,
    pub coord: Option<Coordinate>,
    pub height: Option<i32>,
    pub is_volcano: Option<bool>,
}

An Mountain Peak is the position of the top of a mountain or volcano in the world.

Fields

id: i32

Identifier for the mountain peak. id must be unique for the whole world.

name: Option<String>coord: Option<Coordinate>height: Option<i32>is_volcano: Option<bool>

Implementations

impl MountainPeak[src]

pub fn new() -> Self[src]

Trait Implementations

impl Clone for MountainPeak[src]

impl Debug for MountainPeak[src]

impl Default for MountainPeak[src]

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

impl Fillable for MountainPeak[src]

impl Filler<MountainPeak, MountainPeak> for MountainPeak[src]

impl<__S> GraphQLType<__S> for MountainPeak where
    __S: ScalarValue,
    &'__b __S: ScalarRefValue<'__b>, 
[src]

type Context = ()

The expected context type for this GraphQL type Read more

type TypeInfo = ()

Type that may carry additional schema information Read more

impl Hash for MountainPeak[src]

impl JsonSchema for MountainPeak[src]

impl PartialEq<MountainPeak> for MountainPeak[src]

impl SchemaExample for MountainPeak[src]

impl Serialize for MountainPeak[src]

Auto Trait Implementations

impl RefUnwindSafe for MountainPeak

impl Send for MountainPeak

impl Sync for MountainPeak

impl Unpin for MountainPeak

impl UnwindSafe for MountainPeak

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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.