#[repr(C)]pub struct splinter_shard_bid_snapshot {
pub shard_id: u32,
pub pid: u32,
pub intent: u8,
pub priority: u8,
pub duration_tsc: u64,
pub claimed_at: u64,
pub expired: c_int,
pub sovereign: c_int,
}Expand description
@struct splinter_shard_bid_snapshot @brief Non-atomic mirror of a single bid slot for inspection/audit.
Fields§
§shard_id: u32§pid: u32§intent: u8§priority: u8§duration_tsc: u64§claimed_at: u64§expired: c_int< computed at snapshot time vs splinter_now()
sovereign: c_int< 1 if this record won the election at snapshot time
Trait Implementations§
Source§impl Clone for splinter_shard_bid_snapshot
impl Clone for splinter_shard_bid_snapshot
Source§fn clone(&self) -> splinter_shard_bid_snapshot
fn clone(&self) -> splinter_shard_bid_snapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for splinter_shard_bid_snapshot
Auto Trait Implementations§
impl Freeze for splinter_shard_bid_snapshot
impl RefUnwindSafe for splinter_shard_bid_snapshot
impl Send for splinter_shard_bid_snapshot
impl Sync for splinter_shard_bid_snapshot
impl Unpin for splinter_shard_bid_snapshot
impl UnsafeUnpin for splinter_shard_bid_snapshot
impl UnwindSafe for splinter_shard_bid_snapshot
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