pub struct Event {Show 14 fields
pub uid: String,
pub kind: String,
pub how: String,
pub time_us: u64,
pub start_us: u64,
pub stale_us: u64,
pub point: Point,
pub callsign: Option<String>,
pub track: Option<Track>,
pub sensor: Option<Sensor>,
pub links: Vec<Link>,
pub remarks: Option<String>,
pub video_url: Option<String>,
pub precision_location: Option<(String, String)>,
}Expand description
A CoT 2.0 event.
Fields§
§uid: StringUnique, stable id of the thing described.
kind: StringCoT type, for example "a-u-A-M-F-Q".
how: StringHow the position was obtained ("m-g" = GPS).
time_us: u64Event time, microseconds since 1970 UTC.
start_us: u64Start of validity, microseconds since 1970 UTC.
stale_us: u64End of validity, microseconds since 1970 UTC.
point: PointPosition.
callsign: Option<String><contact callsign>.
track: Option<Track><track>.
sensor: Option<Sensor><sensor>.
links: Vec<Link><link> elements.
remarks: Option<String><remarks> text.
video_url: Option<String><__video url>: a video stream TAK clients can open from the marker.
precision_location: Option<(String, String)><precisionlocation geopointsrc altsrc>, for example ("GPS", "GPS").
Implementations§
Source§impl Event
impl Event
Trait Implementations§
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Forget for Event
impl Freeze for Event
impl Move for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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