[][src]Struct df_st_core::df_world::landmass::Landmass

pub struct Landmass {
    pub id: i32,
    pub name: Option<String>,
    pub coord_1: Option<Coordinate>,
    pub coord_2: Option<Coordinate>,
}

An Landmass is an interconnected piece of land in the world. It is usually surrounded by water or the map borders. Island are also considered a landmass.

Fields

id: i32

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

name: Option<String>coord_1: Option<Coordinate>coord_2: Option<Coordinate>

Implementations

impl Landmass[src]

pub fn new() -> Self[src]

Trait Implementations

impl Clone for Landmass[src]

impl Debug for Landmass[src]

impl Default for Landmass[src]

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

impl Fillable for Landmass[src]

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

impl<__S> GraphQLType<__S> for Landmass 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 Landmass[src]

impl JsonSchema for Landmass[src]

impl PartialEq<Landmass> for Landmass[src]

impl SchemaExample for Landmass[src]

impl Serialize for Landmass[src]

Auto Trait Implementations

impl RefUnwindSafe for Landmass

impl Send for Landmass

impl Sync for Landmass

impl Unpin for Landmass

impl UnwindSafe for Landmass

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.