pub struct Options {
pub affiliation: char,
pub stale_secs: u64,
pub uid_prefix: String,
}Expand description
How Remote ID records become events.
Fields§
§affiliation: charAffiliation letter in the CoT type: 'u' unknown (default), 'n'
neutral, 'f' friend, 'a' assumed friend, 's' suspect, 'h' hostile.
stale_secs: u64Seconds until the marker goes stale. Remote ID broadcasts at 1 Hz or faster, so the default is 30.
uid_prefix: StringPrefix of the event UID (default "rid-").
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