Struct screeps::objects::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<BuildEvent> for BuildEvent
impl PartialEq<BuildEvent> 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 ==
.