pub struct Options {
pub affiliation: char,
pub stale_secs: u64,
pub uid: Option<String>,
pub video_url: Option<String>,
}Expand description
How KLV packets become events.
Fields§
§affiliation: charAffiliation letter for the platform type (default 'f': the video
usually comes from your own aircraft).
stale_secs: u64Seconds until the markers go stale (default 10).
uid: Option<String>Platform UID. Default: "fmv-" plus the tail number, call sign,
designation or mission ID from the packet, in that order, or
"fmv-UAS" when the packet has none of them (many encoders send
none: give each stream its own UID then).
video_url: Option<String>Video stream URL to attach to the platform (<__video url>).
Trait Implementations§
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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