pub struct RawEntityPart {
pub name: String,
pub attributes: Vec<Attribute>,
}Expand description
A single sub-entity inside a complex entity instance.
Fields§
§name: StringEntity type name (always stored upper-cased).
attributes: Vec<Attribute>Trait Implementations§
Source§impl Clone for RawEntityPart
impl Clone for RawEntityPart
Source§fn clone(&self) -> RawEntityPart
fn clone(&self) -> RawEntityPart
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawEntityPart
impl Debug for RawEntityPart
Source§impl PartialEq for RawEntityPart
impl PartialEq for RawEntityPart
Source§fn eq(&self, other: &RawEntityPart) -> bool
fn eq(&self, other: &RawEntityPart) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RawEntityPart
Auto Trait Implementations§
impl Freeze for RawEntityPart
impl RefUnwindSafe for RawEntityPart
impl Send for RawEntityPart
impl Sync for RawEntityPart
impl Unpin for RawEntityPart
impl UnsafeUnpin for RawEntityPart
impl UnwindSafe for RawEntityPart
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