pub struct Sighting {
pub city: CityLabel,
pub event: EventRecord,
}Expand description
One event as the merged view carries it: which city it came from, and the event itself. The pair is what makes a merged stream readable - an event with no city is a fact with no address.
Fields§
§city: CityLabel§event: EventRecordTrait Implementations§
impl StructuralPartialEq for Sighting
Auto Trait Implementations§
impl Freeze for Sighting
impl RefUnwindSafe for Sighting
impl Send for Sighting
impl Sync for Sighting
impl Unpin for Sighting
impl UnsafeUnpin for Sighting
impl UnwindSafe for Sighting
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