pub struct EntityChangedEvent {
pub entity_type: String,
pub entity_id: String,
pub operation: EntityOperation,
pub data: Option<JsonObject>,
}Expand description
Emitted when an entity is mutated on the Rust side (e.g. by an IPC command from another window, or a background task).
Fields§
§entity_type: String§entity_id: String§operation: EntityOperation§data: Option<JsonObject>Trait Implementations§
Source§impl Clone for EntityChangedEvent
impl Clone for EntityChangedEvent
Source§fn clone(&self) -> EntityChangedEvent
fn clone(&self) -> EntityChangedEvent
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 EntityChangedEvent
impl Debug for EntityChangedEvent
Source§impl<'de> Deserialize<'de> for EntityChangedEvent
impl<'de> Deserialize<'de> for EntityChangedEvent
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
Auto Trait Implementations§
impl Freeze for EntityChangedEvent
impl RefUnwindSafe for EntityChangedEvent
impl Send for EntityChangedEvent
impl Sync for EntityChangedEvent
impl Unpin for EntityChangedEvent
impl UnwindSafe for EntityChangedEvent
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