pub struct Notice {
pub to: String,
pub about: NodeId,
pub line: String,
}Expand description
Somebody to tell, and what about.
The city already has a way for one resident to reach another; what it lacked was a fact that triggers one without a person asking. A node going red is that fact.
Fields§
§to: StringWho holds a node that is now waiting for a red one.
about: NodeId§line: StringTrait Implementations§
impl Eq for Notice
impl StructuralPartialEq for Notice
Auto Trait Implementations§
impl Freeze for Notice
impl RefUnwindSafe for Notice
impl Send for Notice
impl Sync for Notice
impl Unpin for Notice
impl UnsafeUnpin for Notice
impl UnwindSafe for Notice
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