Struct screeps::objects::HarvestEvent
source · Fields
target_id: Stringamount: u32Trait Implementations
sourceimpl Clone for HarvestEvent
impl Clone for HarvestEvent
sourcefn clone(&self) -> HarvestEvent
fn clone(&self) -> HarvestEvent
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 HarvestEvent
impl Debug for HarvestEvent
sourceimpl<'de> Deserialize<'de> for HarvestEvent
impl<'de> Deserialize<'de> for HarvestEvent
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<HarvestEvent> for HarvestEvent
impl PartialEq<HarvestEvent> for HarvestEvent
sourcefn eq(&self, other: &HarvestEvent) -> bool
fn eq(&self, other: &HarvestEvent) -> bool
impl Eq for HarvestEvent
impl StructuralEq for HarvestEvent
impl StructuralPartialEq for HarvestEvent
Auto Trait Implementations
impl RefUnwindSafe for HarvestEvent
impl Send for HarvestEvent
impl Sync for HarvestEvent
impl Unpin for HarvestEvent
impl UnwindSafe for HarvestEvent
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