pub struct OsdSyncRequest {
pub target: DeviceUid,
pub seq: u16,
pub what: OsdSyncWhat,
pub missing: [u8; 16],
pub source: DeviceUid,
}Expand description
A unit asking for a sync, or for settings of one it is taking, or management asking for a new sync for a unit.
Fields§
§target: DeviceUidThe unit the sync is for, which sent the request unless management did.
seq: u16The sync whose settings it asks for, or zero asking for a new sync.
what: OsdSyncWhatWhat it asks a new sync to copy.
missing: [u8; 16]The settings it lacks, bit i standing for setting i.
source: DeviceUidWho sent the sync it asks about. DeviceUid::ZERO when it asks for
a new sync.
Implementations§
Source§impl OsdSyncRequest
impl OsdSyncRequest
Sourcepub fn is_missing(&self, index: u16) -> bool
pub fn is_missing(&self, index: u16) -> bool
Whether the unit lacks setting index.
Trait Implementations§
Source§impl Clone for OsdSyncRequest
impl Clone for OsdSyncRequest
Source§impl Debug for OsdSyncRequest
impl Debug for OsdSyncRequest
impl Eq for OsdSyncRequest
Source§impl PartialEq for OsdSyncRequest
impl PartialEq for OsdSyncRequest
impl StructuralPartialEq for OsdSyncRequest
Auto Trait Implementations§
impl Freeze for OsdSyncRequest
impl RefUnwindSafe for OsdSyncRequest
impl Send for OsdSyncRequest
impl Sync for OsdSyncRequest
impl Unpin for OsdSyncRequest
impl UnsafeUnpin for OsdSyncRequest
impl UnwindSafe for OsdSyncRequest
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