pub struct EntityCreateFields {
pub entity_kind: EntityKind,
pub entity_type: Option<String>,
pub name: String,
pub description: Option<String>,
pub properties: BTreeMap<String, PropertyValue>,
pub tags: Vec<String>,
}Expand description
Fields staged for a new entity.
Fields§
§entity_kind: EntityKind§entity_type: Option<String>§name: String§description: Option<String>§properties: BTreeMap<String, PropertyValue>Trait Implementations§
Source§impl Clone for EntityCreateFields
impl Clone for EntityCreateFields
Source§fn clone(&self) -> EntityCreateFields
fn clone(&self) -> EntityCreateFields
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 EntityCreateFields
impl Debug for EntityCreateFields
Source§impl<'de> Deserialize<'de> for EntityCreateFields
impl<'de> Deserialize<'de> for EntityCreateFields
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EntityCreateFields
impl PartialEq for EntityCreateFields
Source§impl Serialize for EntityCreateFields
impl Serialize for EntityCreateFields
impl StructuralPartialEq for EntityCreateFields
Auto Trait Implementations§
impl Freeze for EntityCreateFields
impl RefUnwindSafe for EntityCreateFields
impl Send for EntityCreateFields
impl Sync for EntityCreateFields
impl Unpin for EntityCreateFields
impl UnsafeUnpin for EntityCreateFields
impl UnwindSafe for EntityCreateFields
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