pub struct InvocationId {
pub turn_id: TurnId,
pub round_id: RoundId,
}Expand description
Identity of one model invocation: which turn, and which round inside it.
Serializable for logs and tests; the serialized form is not part of the stable set and may change in any release.
Fields§
§turn_id: TurnIdThe turn the invocation belongs to.
round_id: RoundIdThe round within the turn.
Trait Implementations§
Source§impl Clone for InvocationId
impl Clone for InvocationId
Source§impl Debug for InvocationId
impl Debug for InvocationId
Source§impl<'de> Deserialize<'de> for InvocationId
impl<'de> Deserialize<'de> for InvocationId
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
impl Eq for InvocationId
Source§impl Hash for InvocationId
impl Hash for InvocationId
Source§impl PartialEq for InvocationId
impl PartialEq for InvocationId
Source§impl Serialize for InvocationId
impl Serialize for InvocationId
impl StructuralPartialEq for InvocationId
Auto Trait Implementations§
impl Forget for InvocationId
impl Freeze for InvocationId
impl Move for InvocationId
impl RefUnwindSafe for InvocationId
impl Send for InvocationId
impl Sync for InvocationId
impl Unpin for InvocationId
impl UnsafeUnpin for InvocationId
impl UnwindSafe for InvocationId
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