Struct riven::models::match_v5::MatchTimelineInfoFrameEvent

source ·
pub struct MatchTimelineInfoFrameEvent {
Show 36 fields pub real_timestamp: Option<i64>, pub timestamp: i32, pub type: String, pub item_id: Option<i32>, pub participant_id: Option<i32>, pub level_up_type: Option<String>, pub skill_slot: Option<i32>, pub creator_id: Option<i32>, pub ward_type: Option<String>, pub level: Option<i32>, pub assisting_participant_ids: Option<Vec<i32>>, pub bounty: Option<i32>, pub kill_streak_length: Option<i32>, pub killer_id: Option<i32>, pub position: Option<MatchTimelinePosition>, pub victim_damage_dealt: Option<Vec<MatchTimelineInfoFrameEventVictimDamageDealt>>, pub victim_damage_received: Option<Vec<MatchTimelineInfoFrameEventVictimDamageDealt>>, pub victim_id: Option<i32>, pub kill_type: Option<String>, pub lane_type: Option<String>, pub team_id: Option<Team>, pub multi_kill_length: Option<i32>, pub killer_team_id: Option<Team>, pub monster_type: Option<String>, pub monster_sub_type: Option<String>, pub building_type: Option<String>, pub tower_type: Option<String>, pub after_id: Option<i32>, pub before_id: Option<i32>, pub gold_gain: Option<i32>, pub game_id: Option<i64>, pub winning_team: Option<i32>, pub transform_type: Option<String>, pub name: Option<String>, pub shutdown_bounty: Option<i32>, pub actual_start_time: Option<i64>,
}
Expand description

MatchTimelineInfoFrameEvent data object.

Fields§

§real_timestamp: Option<i64>§timestamp: i32§type: String

Timeline event type.
(Known legal values: ASCENDED_EVENT, BUILDING_KILL, CAPTURE_POINT, CHAMPION_KILL, CHAMPION_SPECIAL_KILL, CHAMPION_TRANSFORM, DRAGON_SOUL_GIVEN, ELITE_MONSTER_KILL, GAME_END, ITEM_DESTROYED, ITEM_PURCHASED, ITEM_SOLD, ITEM_UNDO, LEVEL_UP, OBJECTIVE_BOUNTY_FINISH, OBJECTIVE_BOUNTY_PRESTART, PAUSE_END, PAUSE_START, SKILL_LEVEL_UP, TURRET_PLATE_DESTROYED, WARD_KILL, WARD_PLACED)

§item_id: Option<i32>§participant_id: Option<i32>§level_up_type: Option<String>§skill_slot: Option<i32>§creator_id: Option<i32>§ward_type: Option<String>§level: Option<i32>§assisting_participant_ids: Option<Vec<i32>>§bounty: Option<i32>§kill_streak_length: Option<i32>§killer_id: Option<i32>§position: Option<MatchTimelinePosition>§victim_damage_dealt: Option<Vec<MatchTimelineInfoFrameEventVictimDamageDealt>>§victim_damage_received: Option<Vec<MatchTimelineInfoFrameEventVictimDamageDealt>>§victim_id: Option<i32>§kill_type: Option<String>§lane_type: Option<String>§team_id: Option<Team>§multi_kill_length: Option<i32>§killer_team_id: Option<Team>§monster_type: Option<String>§monster_sub_type: Option<String>§building_type: Option<String>§tower_type: Option<String>§after_id: Option<i32>§before_id: Option<i32>§gold_gain: Option<i32>§game_id: Option<i64>§winning_team: Option<i32>§transform_type: Option<String>§name: Option<String>§shutdown_bounty: Option<i32>§actual_start_time: Option<i64>

Trait Implementations§

source§

impl Clone for MatchTimelineInfoFrameEvent

source§

fn clone(&self) -> MatchTimelineInfoFrameEvent

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MatchTimelineInfoFrameEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for MatchTimelineInfoFrameEvent

source§

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 Serialize for MatchTimelineInfoFrameEvent

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,