pub struct ActiveEventInfo {
pub event_id: String,
pub event_type: String,
pub progress: f64,
}Expand description
Information about an active event.
Fields§
§event_id: StringEvent ID.
event_type: StringEvent type name.
progress: f64Progress through the event (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for ActiveEventInfo
impl Clone for ActiveEventInfo
Source§fn clone(&self) -> ActiveEventInfo
fn clone(&self) -> ActiveEventInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ActiveEventInfo
impl RefUnwindSafe for ActiveEventInfo
impl Send for ActiveEventInfo
impl Sync for ActiveEventInfo
impl Unpin for ActiveEventInfo
impl UnwindSafe for ActiveEventInfo
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