pub struct CommandReceipt {
pub attempt_id: Option<CommandAttemptId>,
pub command_id: CommandId,
pub request_id: Option<CommandRequestId>,
pub revision: u64,
pub accepted_at: SimTime,
pub emitted_events: Vec<EventId>,
}Fields§
§attempt_id: Option<CommandAttemptId>§command_id: CommandId§request_id: Option<CommandRequestId>§revision: u64Authoritative revision after the accepted command commits.
accepted_at: SimTime§emitted_events: Vec<EventId>Trait Implementations§
Source§impl Clone for CommandReceipt
impl Clone for CommandReceipt
Source§fn clone(&self) -> CommandReceipt
fn clone(&self) -> CommandReceipt
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 CommandReceipt
impl Debug for CommandReceipt
Source§impl<'de> Deserialize<'de> for CommandReceipt
impl<'de> Deserialize<'de> for CommandReceipt
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommandReceipt, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommandReceipt, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CommandReceipt
Source§impl PartialEq for CommandReceipt
impl PartialEq for CommandReceipt
Source§impl Serialize for CommandReceipt
impl Serialize for CommandReceipt
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 CommandReceipt
Auto Trait Implementations§
impl Freeze for CommandReceipt
impl RefUnwindSafe for CommandReceipt
impl Send for CommandReceipt
impl Sync for CommandReceipt
impl Unpin for CommandReceipt
impl UnsafeUnpin for CommandReceipt
impl UnwindSafe for CommandReceipt
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