[][src]Struct df_st_core::df_world::world_construction::WorldConstruction

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

An Large construction in the world. This is usually in he from of roads, bridges and tunnels. These roads and tunnels connect different sites together.

Fields

id: i32

Identifier for the world construction. id must be unique for the whole world.

name: Option<String>type_: Option<String>coords: Vec<Coordinate>

Implementations

impl WorldConstruction[src]

pub fn new() -> Self[src]

Trait Implementations

impl Clone for WorldConstruction[src]

impl Debug for WorldConstruction[src]

impl Default for WorldConstruction[src]

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

impl Fillable for WorldConstruction[src]

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

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

impl JsonSchema for WorldConstruction[src]

impl PartialEq<WorldConstruction> for WorldConstruction[src]

impl SchemaExample for WorldConstruction[src]

impl Serialize for WorldConstruction[src]

Auto Trait Implementations

impl RefUnwindSafe for WorldConstruction

impl Send for WorldConstruction

impl Sync for WorldConstruction

impl Unpin for WorldConstruction

impl UnwindSafe for WorldConstruction

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.