Struct screeps::objects::ObjectDestroyedEvent
source · pub struct ObjectDestroyedEvent {
pub object_type: String,
}
Fields
object_type: String
Trait Implementations
sourceimpl Clone for ObjectDestroyedEvent
impl Clone for ObjectDestroyedEvent
sourcefn clone(&self) -> ObjectDestroyedEvent
fn clone(&self) -> ObjectDestroyedEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ObjectDestroyedEvent
impl Debug for ObjectDestroyedEvent
sourceimpl<'de> Deserialize<'de> for ObjectDestroyedEvent
impl<'de> Deserialize<'de> for ObjectDestroyedEvent
sourcefn 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
sourceimpl PartialEq<ObjectDestroyedEvent> for ObjectDestroyedEvent
impl PartialEq<ObjectDestroyedEvent> for ObjectDestroyedEvent
sourcefn eq(&self, other: &ObjectDestroyedEvent) -> bool
fn eq(&self, other: &ObjectDestroyedEvent) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
impl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
sourcefn into_expected_type(self) -> Result<U, ConversionError>
fn into_expected_type(self) -> Result<U, ConversionError>
Casts this value as the target type, making the assumption that the types are correct. Read more