pub struct LcuEvent {
pub uri: String,
pub event_type: EventType,
pub data: Value,
}Expand description
A single LCU WebSocket event.
Fields§
§uri: StringThe REST endpoint whose state changed, e.g. /lol-gameflow/v1/session.
event_type: EventTypeWhether the resource was created, updated, or deleted.
data: ValueThe new state as arbitrary JSON.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LcuEvent
impl RefUnwindSafe for LcuEvent
impl Send for LcuEvent
impl Sync for LcuEvent
impl Unpin for LcuEvent
impl UnsafeUnpin for LcuEvent
impl UnwindSafe for LcuEvent
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