[][src]Struct df_st_core::df_world::underground_region::UndergroundRegion

pub struct UndergroundRegion {
    pub id: i32,
    pub type_: Option<String>,
    pub depth: Option<i32>,
    pub coords: Vec<Coordinate>,
}

A Underground Region is a section of map that has specific properties. The underground regions are below the surface of the world.

Fields

id: i32

Identifier for the underground region. id must be unique for the whole world.

type_: Option<String>depth: Option<i32>coords: Vec<Coordinate>

A list of coordinates for each square that is covered by this underground region More info can be found in Coordinate

Implementations

impl UndergroundRegion[src]

pub fn new() -> Self[src]

Trait Implementations

impl Clone for UndergroundRegion[src]

impl Debug for UndergroundRegion[src]

impl Default for UndergroundRegion[src]

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

impl Fillable for UndergroundRegion[src]

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

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

impl JsonSchema for UndergroundRegion[src]

impl PartialEq<UndergroundRegion> for UndergroundRegion[src]

impl SchemaExample for UndergroundRegion[src]

impl Serialize for UndergroundRegion[src]

Auto Trait Implementations

impl RefUnwindSafe for UndergroundRegion

impl Send for UndergroundRegion

impl Sync for UndergroundRegion

impl Unpin for UndergroundRegion

impl UnwindSafe for UndergroundRegion

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.