pub struct PointInfo {
pub id: &'static str,
pub kind: PointKind,
pub description: String,
pub declared: bool,
pub deadline: Duration,
pub listeners: Vec<ListenerInfo>,
}Expand description
A point as introspection shows it.
Fields§
§id: &'static strIts id.
kind: PointKindWhat it is for.
description: StringIts description; empty until declared.
declared: boolWhether its owner declared it (Bus::declare_point); a point
listened to before that is not.
deadline: DurationThe deadline of its listeners that set none.
listeners: Vec<ListenerInfo>Its listeners, in the order they run.
Trait Implementations§
impl Eq for PointInfo
impl StructuralPartialEq for PointInfo
Auto Trait Implementations§
impl Forget for PointInfo
impl Freeze for PointInfo
impl Move for PointInfo
impl RefUnwindSafe for PointInfo
impl Send for PointInfo
impl Sync for PointInfo
impl Unpin for PointInfo
impl UnsafeUnpin for PointInfo
impl UnwindSafe for PointInfo
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