[][src]Struct df_st_core::df_world::poetic_form::PoeticForm

pub struct PoeticForm {
    pub id: i32,
    pub name: Option<String>,
    pub description: Option<String>,
}

A form of poetry that was create at some point in its history in the world.

Fields

id: i32

Identifier for the poetic form. id must be unique for the whole world.

name: Option<String>description: Option<String>

Implementations

impl PoeticForm[src]

pub fn new() -> Self[src]

Trait Implementations

impl Clone for PoeticForm[src]

impl Debug for PoeticForm[src]

impl Default for PoeticForm[src]

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

impl Fillable for PoeticForm[src]

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

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

impl JsonSchema for PoeticForm[src]

impl PartialEq<PoeticForm> for PoeticForm[src]

impl SchemaExample for PoeticForm[src]

impl Serialize for PoeticForm[src]

Auto Trait Implementations

impl RefUnwindSafe for PoeticForm

impl Send for PoeticForm

impl Sync for PoeticForm

impl Unpin for PoeticForm

impl UnwindSafe for PoeticForm

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.