#[non_exhaustive]pub struct CheckIn {
pub node_id: u64,
pub counter: u32,
pub app_data: Vec<u8>,
}Expand description
A verified inbound Check-In from a registered ICD.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.node_id: u64The ICD device that checked in.
counter: u32The Check-In counter (verified strictly greater than the registration’s recorded floor — replay/stale check-ins are rejected).
app_data: Vec<u8>Optional application data the ICD included.
Trait Implementations§
impl Eq for CheckIn
impl StructuralPartialEq for CheckIn
Auto Trait Implementations§
impl Freeze for CheckIn
impl RefUnwindSafe for CheckIn
impl Send for CheckIn
impl Sync for CheckIn
impl Unpin for CheckIn
impl UnsafeUnpin for CheckIn
impl UnwindSafe for CheckIn
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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