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§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<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 CommandContext
Source§impl PartialEq for CommandContext
impl PartialEq for CommandContext
Source§impl Serialize for CommandContext
impl Serialize for CommandContext
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