pub struct ExternalSpec {
pub workflow: WorkflowKey,
pub case_id: CaseId,
pub command: Value,
}Expand description
A change to a record made outside the conversation, as its own system makes it: an airline re-quoting a fare. The command is the domain’s own, as the workflow serializes it, and never passes through understanding.
Fields§
§workflow: WorkflowKeyWorkflow of the record.
case_id: CaseIdThe record.
command: ValueThe domain command.
Trait Implementations§
Source§impl Clone for ExternalSpec
impl Clone for ExternalSpec
Source§impl Debug for ExternalSpec
impl Debug for ExternalSpec
Source§impl<'de> Deserialize<'de> for ExternalSpec
impl<'de> Deserialize<'de> for ExternalSpec
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
Source§impl PartialEq for ExternalSpec
impl PartialEq for ExternalSpec
Source§impl Serialize for ExternalSpec
impl Serialize for ExternalSpec
impl StructuralPartialEq for ExternalSpec
Auto Trait Implementations§
impl Freeze for ExternalSpec
impl RefUnwindSafe for ExternalSpec
impl Send for ExternalSpec
impl Sync for ExternalSpec
impl Unpin for ExternalSpec
impl UnsafeUnpin for ExternalSpec
impl UnwindSafe for ExternalSpec
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