Struct s2protocol::tracker_events::unit_done::UnitDoneEvent
source · pub struct UnitDoneEvent {
pub unit_tag_index: u32,
pub unit_tag_recycle: u32,
}Expand description
Emitted when a unit that is previously in progress is completed.
Fields§
§unit_tag_index: u32§unit_tag_recycle: u32Implementations§
source§impl UnitDoneEvent
impl UnitDoneEvent
pub fn should_skip(&self, _filters: &SC2ReplayFilters) -> bool
Trait Implementations§
source§impl ArrowDeserialize for UnitDoneEvent
impl ArrowDeserialize for UnitDoneEvent
§type ArrayType = UnitDoneEventArray
type ArrayType = UnitDoneEventArray
The
arrow2::Array type corresponding to this fieldsource§fn arrow_deserialize<'a>(v: Option<Self>) -> Option<Self>
fn arrow_deserialize<'a>(v: Option<Self>) -> Option<Self>
Deserialize this field from arrow
source§impl ArrowField for UnitDoneEvent
impl ArrowField for UnitDoneEvent
source§impl ArrowSerialize for UnitDoneEvent
impl ArrowSerialize for UnitDoneEvent
§type MutableArrayType = MutableUnitDoneEventArray
type MutableArrayType = MutableUnitDoneEventArray
The
arrow2::array::MutableArray that holds this valuesource§fn new_array() -> Self::MutableArrayType
fn new_array() -> Self::MutableArrayType
Create a new mutable array
source§fn arrow_serialize(v: &Self, array: &mut Self::MutableArrayType) -> Result<()>
fn arrow_serialize(v: &Self, array: &mut Self::MutableArrayType) -> Result<()>
Serialize this field to arrow
source§impl Clone for UnitDoneEvent
impl Clone for UnitDoneEvent
source§fn clone(&self) -> UnitDoneEvent
fn clone(&self) -> UnitDoneEvent
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 UnitDoneEvent
impl Debug for UnitDoneEvent
source§impl Default for UnitDoneEvent
impl Default for UnitDoneEvent
source§fn default() -> UnitDoneEvent
fn default() -> UnitDoneEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UnitDoneEvent
impl<'de> Deserialize<'de> for UnitDoneEvent
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 UnitDoneEvent
impl PartialEq for UnitDoneEvent
source§fn eq(&self, other: &UnitDoneEvent) -> bool
fn eq(&self, other: &UnitDoneEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for UnitDoneEvent
impl Serialize for UnitDoneEvent
impl StructuralPartialEq for UnitDoneEvent
Auto Trait Implementations§
impl RefUnwindSafe for UnitDoneEvent
impl Send for UnitDoneEvent
impl Sync for UnitDoneEvent
impl Unpin for UnitDoneEvent
impl UnwindSafe for UnitDoneEvent
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