pub struct ObjectMeta<'a, S> { /* private fields */ }
Expand description

Object type metadata

Implementations

Build a new object type with the specified name and fields

Set the description for the object

If a description was provided prior to calling this method, it will be overwritten.

Set the interfaces this type implements

If a list of interfaces already was provided prior to calling this method, they will be overwritten.

Wrap this object type in a generic meta type

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.