pub struct CommandContext {
pub issuer: Issuer,
pub authority: CommandAuthority,
pub decision_controller_id: Option<String>,
pub run_policy: CommandPolicyContext,
pub ingress: CommandIngress,
pub attempt_id: Option<CommandAttemptId>,
pub command_id: CommandId,
pub request_id: Option<CommandRequestId>,
pub revision: u64,
pub simulation_time: SimTime,
pub expected_revision: Option<u64>,
pub expected_time: Option<SimTime>,
}Fields§
§issuer: Issuer§decision_controller_id: Option<String>Present only when the engine admitted this command as the selected
action of a validated DecisionTicket controller.
run_policy: CommandPolicyContext§ingress: CommandIngress§attempt_id: Option<CommandAttemptId>§command_id: CommandId§request_id: Option<CommandRequestId>§revision: u64§simulation_time: SimTime§expected_revision: Option<u64>§expected_time: Option<SimTime>Trait Implementations§
Source§impl Clone for CommandContext
impl Clone for CommandContext
Source§fn clone(&self) -> CommandContext
fn clone(&self) -> CommandContext
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 CommandContext
impl Debug for CommandContext
Source§impl<'de> Deserialize<'de> for CommandContext
impl<'de> Deserialize<'de> for CommandContext
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommandContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CommandContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CommandContext
Source§impl PartialEq for CommandContext
impl PartialEq for CommandContext
Source§impl Serialize for CommandContext
impl Serialize for CommandContext
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 CommandContext
Auto Trait Implementations§
impl Freeze for CommandContext
impl RefUnwindSafe for CommandContext
impl Send for CommandContext
impl Sync for CommandContext
impl Unpin for CommandContext
impl UnsafeUnpin for CommandContext
impl UnwindSafe for CommandContext
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