pub struct FloorHeader {
pub author: DeviceId,
pub at: u64,
pub first: Slot,
pub snapshots: Vec<Slot>,
}Expand description
Header of the signed floor stream. Announcements follow in this order.
Fields§
Device signing the floor in the state at at.
at: u64Signer’s applied slot, covering every named announcement.
first: SlotFirst slot the sequence retains.
snapshots: Vec<Slot>One announcement per required audience, in audience order, store first.
Implementations§
Trait Implementations§
Source§impl Clone for FloorHeader
impl Clone for FloorHeader
Source§fn clone(&self) -> FloorHeader
fn clone(&self) -> FloorHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FloorHeader
impl Debug for FloorHeader
Source§impl PartialEq for FloorHeader
impl PartialEq for FloorHeader
impl Eq for FloorHeader
impl StructuralPartialEq for FloorHeader
Auto Trait Implementations§
impl Freeze for FloorHeader
impl RefUnwindSafe for FloorHeader
impl Send for FloorHeader
impl Sync for FloorHeader
impl Unpin for FloorHeader
impl UnsafeUnpin for FloorHeader
impl UnwindSafe for FloorHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more