#[non_exhaustive]pub struct AuraEvent {
pub aura_id: u32,
pub kind: AuraEventKind,
pub time_ms: u32,
pub source: ActorId,
pub affected: ActorId,
pub pull: PullId,
pub group: Option<GroupId>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.aura_id: u32§kind: AuraEventKind§time_ms: u32§source: ActorId§affected: ActorId§pull: PullId§group: Option<GroupId>Implementations§
Source§impl AuraEvent
impl AuraEvent
pub const fn new( observation: AuraObservation, time_ms: u32, scope: AuraTelemetryScope, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuraEvent
impl RefUnwindSafe for AuraEvent
impl Send for AuraEvent
impl Sync for AuraEvent
impl Unpin for AuraEvent
impl UnsafeUnpin for AuraEvent
impl UnwindSafe for AuraEvent
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