pub struct Specification {
pub components: Map<String, ComponentDefinition>,
pub relations: Map<String, RelationDefinition>,
pub types: Map<String, TypeDefinition>,
pub verbs: Map<String, VerbDefinition>,
}
Expand description
An Elephant specification.
Fields§
§components: Map<String, ComponentDefinition>
All component definitions.
relations: Map<String, RelationDefinition>
All relation definitions.
types: Map<String, TypeDefinition>
All type definitions.
verbs: Map<String, VerbDefinition>
All verb definitions.
Trait Implementations§
Source§impl Clone for Specification
impl Clone for Specification
Source§fn clone(&self) -> Specification
fn clone(&self) -> Specification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Specification
impl Debug for Specification
Source§impl Default for Specification
impl Default for Specification
Source§fn default() -> Specification
fn default() -> Specification
Returns the “default value” for a type. Read more
Source§impl PartialEq for Specification
impl PartialEq for Specification
impl StructuralPartialEq for Specification
Auto Trait Implementations§
impl Freeze for Specification
impl RefUnwindSafe for Specification
impl !Send for Specification
impl !Sync for Specification
impl Unpin for Specification
impl UnwindSafe for Specification
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more