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: Stringamount: u32structure_type: StructureTypex: u8y: u8incomplete: boolTrait Implementations
sourceimpl Clone for BuildEvent
impl Clone for BuildEvent
sourcefn clone(&self) -> BuildEvent
fn clone(&self) -> BuildEvent
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 more
sourceimpl Debug for BuildEvent
impl Debug for BuildEvent
sourceimpl<'de> Deserialize<'de> for BuildEvent
impl<'de> Deserialize<'de> for BuildEvent
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<BuildEvent> for BuildEvent
impl PartialEq<BuildEvent> for BuildEvent
sourcefn 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 ==. Read more
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
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