pub struct EntityInstance {
pub id: Uuid,
pub namespace: String,
pub name: String,
pub description: String,
pub components: Vec<ComponentTypeId>,
pub properties: Vec<PropertyInstance>,
pub extensions: Vec<Extension>,
/* private fields */
}
Fields§
§id: Uuid
The id of the entity instance.
namespace: String
The type namespace.
name: String
The type name.
description: String
Textual description of the entity instance.
components: Vec<ComponentTypeId>
The components.
properties: Vec<PropertyInstance>
The property instances.
extensions: Vec<Extension>
The extensions.
Trait Implementations§
Source§impl Clone for EntityInstance
impl Clone for EntityInstance
Source§fn clone(&self) -> EntityInstance
fn clone(&self) -> EntityInstance
Returns a copy 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 EntityInstance
impl Debug for EntityInstance
Source§impl From<EntityInstance> for EntityInstance
impl From<EntityInstance> for EntityInstance
Source§impl TableInlineFormatSetter for EntityInstance
impl TableInlineFormatSetter for EntityInstance
fn set_table_inline_format(&mut self, table_inline_format: TableInlineFormat)
Source§impl Tabled for EntityInstance
impl Tabled for EntityInstance
Auto Trait Implementations§
impl Freeze for EntityInstance
impl RefUnwindSafe for EntityInstance
impl Send for EntityInstance
impl Sync for EntityInstance
impl Unpin for EntityInstance
impl UnwindSafe for EntityInstance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more