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