pub struct CommandRecord {
pub id: CommandId,
pub attempt_id: Option<CommandAttemptId>,
pub accepted_at: SimTime,
pub envelope: CommandEnvelope,
pub emitted_events: Vec<EventId>,
}Fields§
§id: CommandId§attempt_id: Option<CommandAttemptId>§accepted_at: SimTime§envelope: CommandEnvelope§emitted_events: Vec<EventId>Trait Implementations§
Source§impl Clone for CommandRecord
impl Clone for CommandRecord
Source§fn clone(&self) -> CommandRecord
fn clone(&self) -> CommandRecord
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 CommandRecord
impl Debug for CommandRecord
Source§impl<'de> Deserialize<'de> for CommandRecord
impl<'de> Deserialize<'de> for CommandRecord
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommandRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommandRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CommandRecord
impl PartialEq for CommandRecord
Source§impl Serialize for CommandRecord
impl Serialize for CommandRecord
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CommandRecord
Auto Trait Implementations§
impl Freeze for CommandRecord
impl RefUnwindSafe for CommandRecord
impl Send for CommandRecord
impl Sync for CommandRecord
impl Unpin for CommandRecord
impl UnsafeUnpin for CommandRecord
impl UnwindSafe for CommandRecord
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