pub struct StartTickMessage {
pub tick: Tick,
pub initiator: ShardId,
pub timestamp_ms: u64,
}Expand description
Message indicating a distributed tick should start.
Fields§
§tick: TickThe tick number to start.
initiator: ShardIdThe shard that initiated the tick (usually coordinator).
timestamp_ms: u64Timestamp when the tick was initiated.
Trait Implementations§
Source§impl Clone for StartTickMessage
impl Clone for StartTickMessage
Source§fn clone(&self) -> StartTickMessage
fn clone(&self) -> StartTickMessage
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 moreSource§impl Debug for StartTickMessage
impl Debug for StartTickMessage
Source§impl<'de> Deserialize<'de> for StartTickMessage
impl<'de> Deserialize<'de> for StartTickMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StartTickMessage
impl RefUnwindSafe for StartTickMessage
impl Send for StartTickMessage
impl Sync for StartTickMessage
impl Unpin for StartTickMessage
impl UnsafeUnpin for StartTickMessage
impl UnwindSafe for StartTickMessage
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