Struct screeps::objects::event::ObjectDestroyedEvent
source · pub struct ObjectDestroyedEvent {
pub object_type: String,
}
Fields§
§object_type: String
Trait Implementations§
source§impl Clone for ObjectDestroyedEvent
impl Clone for ObjectDestroyedEvent
source§fn clone(&self) -> ObjectDestroyedEvent
fn clone(&self) -> ObjectDestroyedEvent
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 ObjectDestroyedEvent
impl Debug for ObjectDestroyedEvent
source§impl<'de> Deserialize<'de> for ObjectDestroyedEvent
impl<'de> Deserialize<'de> for ObjectDestroyedEvent
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 ObjectDestroyedEvent
impl PartialEq for ObjectDestroyedEvent
source§fn eq(&self, other: &ObjectDestroyedEvent) -> bool
fn eq(&self, other: &ObjectDestroyedEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ObjectDestroyedEvent
impl StructuralEq for ObjectDestroyedEvent
impl StructuralPartialEq for ObjectDestroyedEvent
Auto Trait Implementations§
impl RefUnwindSafe for ObjectDestroyedEvent
impl Send for ObjectDestroyedEvent
impl Sync for ObjectDestroyedEvent
impl Unpin for ObjectDestroyedEvent
impl UnwindSafe for ObjectDestroyedEvent
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